Lines Matching refs:result

97     XAresult result;  in prefetchStatusCallback()  local
98 result = (*caller)->GetFillLevel(caller, &level); in prefetchStatusCallback()
99 assert(XA_RESULT_SUCCESS == result); in prefetchStatusCallback()
101 result = (*caller)->GetPrefetchStatus(caller, &status); in prefetchStatusCallback()
102 assert(XA_RESULT_SUCCESS == result); in prefetchStatusCallback()
135 XAresult result; in playEventCallback() local
137 result = (*caller)->GetPosition(caller, &position); in playEventCallback()
138 assert(XA_RESULT_SUCCESS == result); in playEventCallback()
204 XAresult result; in bufferQueueCallback() local
207 result = (*caller)->Enqueue(caller, NULL, &packets[curPacket], in bufferQueueCallback()
209 assert(XA_RESULT_SUCCESS == result); in bufferQueueCallback()
214 result = (*playerPlay)->GetPosition(playerPlay, &position); in bufferQueueCallback()
215 assert(XA_RESULT_SUCCESS == result); in bufferQueueCallback()
374 XAresult result; in main() local
378 result = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main()
379 assert(XA_RESULT_SUCCESS == result); in main()
380 result = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in main()
381 assert(XA_RESULT_SUCCESS == result); in main()
383 result = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in main()
384 assert(XA_RESULT_SUCCESS == result); in main()
388 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in main()
389 assert(XA_RESULT_SUCCESS == result); in main()
390 result = (*outputMixObject)->Realize(outputMixObject, XA_BOOLEAN_FALSE); in main()
391 assert(XA_RESULT_SUCCESS == result); in main()
440 result = (*engineEngine)->CreateMediaPlayer(engineEngine, &playerObject, &dataSrc, NULL, in main()
443 assert(XA_RESULT_SUCCESS == result); in main()
446 result = (*playerObject)->Realize(playerObject, XA_BOOLEAN_FALSE); in main()
447 assert(XA_RESULT_SUCCESS == result); in main()
451 result = (*playerObject)->GetInterface(playerObject, XA_IID_PLAY, &playerPlay); in main()
452 assert(XA_RESULT_SUCCESS == result); in main()
458 result = (*playerObject)->GetInterface(playerObject, XA_IID_ANDROIDBUFFERQUEUESOURCE, in main()
460 assert(XA_RESULT_SUCCESS == result); in main()
463 result = (*playerAndroidBufferQueue)->RegisterCallback(playerAndroidBufferQueue, in main()
465 assert(XA_RESULT_SUCCESS == result); in main()
466 result = (*playerAndroidBufferQueue)->SetCallbackEventsMask(playerAndroidBufferQueue, in main()
468 assert(XA_RESULT_SUCCESS == result); in main()
472 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PAUSED); in main()
473 assert(XA_RESULT_SUCCESS == result); in main()
483 result = (*playerAndroidBufferQueue)->Enqueue(playerAndroidBufferQueue, NULL, in main()
485 if (XA_RESULT_BUFFER_INSUFFICIENT == result) { in main()
490 assert(XA_RESULT_SUCCESS == result); in main()
497 result = (*playerObject)->GetInterface(playerObject, XA_IID_STREAMINFORMATION, in main()
499 assert(XA_RESULT_SUCCESS == result); in main()
502 result = (*playerStreamInformation)->RegisterStreamChangeCallback(playerStreamInformation, in main()
504 assert(XA_RESULT_SUCCESS == result); in main()
508 result = (*playerObject)->GetInterface(playerObject, XA_IID_PREFETCHSTATUS, in main()
510 assert(XA_RESULT_SUCCESS == result); in main()
513 result = (*playerPrefetchStatus)->RegisterCallback(playerPrefetchStatus, prefetchStatusCallback, in main()
515 assert(XA_RESULT_SUCCESS == result); in main()
516 result = (*playerPrefetchStatus)->SetCallbackEventsMask(playerPrefetchStatus, in main()
518 assert(XA_RESULT_SUCCESS == result); in main()
523 result = (*playerObject)->GetInterface(playerObject, XA_IID_SEEK, &playerSeek); in main()
524 assert(XA_RESULT_SUCCESS == result); in main()
526 result = (*playerSeek)->SetPosition(playerSeek, seekPos, XA_SEEKMODE_ACCURATE); in main()
527 if (XA_RESULT_FEATURE_UNSUPPORTED == result) { in main()
530 assert(XA_RESULT_SUCCESS == result); in main()
534 result = (*playerSeek)->SetLoop(playerSeek, XA_BOOLEAN_TRUE, (XAmillisecond) 0, in main()
539 assert(XA_RESULT_SUCCESS == result); in main()
545 result = (*playerPlay)->RegisterCallback(playerPlay, playEventCallback, NULL); in main()
546 assert(XA_RESULT_SUCCESS == result); in main()
547 result = (*playerPlay)->SetCallbackEventsMask(playerPlay, in main()
549 assert(XA_RESULT_SUCCESS == result); in main()
552 result = (*playerPlay)->SetMarkerPosition(playerPlay, 5000); in main()
553 assert(XA_RESULT_SUCCESS == result); in main()
556 result = (*playerPlay)->SetPositionUpdatePeriod(playerPlay, 2000); in main()
557 assert(XA_RESULT_SUCCESS == result); in main()
561 result = (*playerPlay)->GetPosition(playerPlay, &position); in main()
562 assert(XA_RESULT_SUCCESS == result); in main()
567 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main()
568 assert(XA_RESULT_SUCCESS == result); in main()
576 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PAUSED); in main()
577 assert(XA_RESULT_SUCCESS == result); in main()
591 result = (*playerPlay)->GetPosition(playerPlay, &position); in main()
592 assert(XA_RESULT_SUCCESS == result); in main()
596 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main()
597 assert(XA_RESULT_SUCCESS == result); in main()
605 result = (*playerStreamInformation)->QueryMediaContainerInformation(playerStreamInformation, in main()
607 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
611 result = (*playerStreamInformation)->QueryMediaContainerInformation(playerStreamInformation, in main()
613 assert(XA_RESULT_SUCCESS == result); in main()
629 result = (*playerStreamInformation)->QueryStreamType(playerStreamInformation, in main()
631 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
632 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
636 result = (*playerStreamInformation)->QueryStreamName(playerStreamInformation, in main()
641 result = (*playerStreamInformation)->QueryStreamType(playerStreamInformation, streamIndex, in main()
643 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
645 result = (*playerStreamInformation)->QueryStreamType(playerStreamInformation, streamIndex, in main()
647 assert(XA_RESULT_SUCCESS == result); in main()
650 result = (*playerStreamInformation)->QueryStreamName(playerStreamInformation, streamIndex, in main()
653 assert(XA_RESULT_SUCCESS == result); in main()
659 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
661 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
668 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
670 assert(XA_RESULT_SUCCESS == result); in main()
680 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
682 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
692 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
694 assert(XA_RESULT_SUCCESS == result); in main()
704 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
706 assert(XA_RESULT_SUCCESS == result); in main()
714 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
716 assert(XA_RESULT_SUCCESS == result); in main()
728 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
730 assert(XA_RESULT_SUCCESS == result); in main()
739 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
741 assert(XA_RESULT_SUCCESS == result); in main()
749 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
751 assert(XA_RESULT_CONTENT_UNSUPPORTED == result); in main()
760 result = (*playerStreamInformation)->QueryStreamType(playerStreamInformation, streamIndex, in main()
762 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
764 result = (*playerStreamInformation)->QueryStreamInformation(playerStreamInformation, in main()
766 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
769 result = (*playerStreamInformation)->QueryActiveStreams(playerStreamInformation, NULL, NULL); in main()
770 assert(XA_RESULT_PARAMETER_INVALID == result); in main()
772 result = (*playerStreamInformation)->QueryActiveStreams(playerStreamInformation, &numStreams1, in main()
774 assert(XA_RESULT_SUCCESS == result); in main()
780 result = (*playerStreamInformation)->QueryActiveStreams(playerStreamInformation, &numStreams2, in main()
782 assert(XA_RESULT_SUCCESS == result); in main()
794 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PLAYING); in main()
795 assert(XA_RESULT_SUCCESS == result); in main()
800 result = (*playerPlay)->GetPlayState(playerPlay, &status); in main()
801 assert(XA_RESULT_SUCCESS == result); in main()
807 result = (*playerPlay)->GetPosition(playerPlay, &position); in main()
808 assert(XA_RESULT_SUCCESS == result); in main()
811 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PAUSED); in main()
812 assert(XA_RESULT_SUCCESS == result); in main()
815 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PLAYING); in main()
816 assert(XA_RESULT_SUCCESS == result); in main()
827 result = (*playerPlay)->GetPosition(playerPlay, &position); in main()
828 assert(XA_RESULT_SUCCESS == result); in main()
832 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main()
833 assert(XA_RESULT_SUCCESS == result); in main()