Lines Matching refs:result

192     SLresult result;  in prefetch_callback()  local
195 result = (*caller)->GetFillLevel(caller, &level); in prefetch_callback()
196 assert(SL_RESULT_SUCCESS == result); in prefetch_callback()
198 result = (*caller)->GetPrefetchStatus(caller, &status); in prefetch_callback()
199 assert(SL_RESULT_SUCCESS == result); in prefetch_callback()
224 SLresult result; in main() local
311 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main()
312 assert(SL_RESULT_SUCCESS == result); in main()
313 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main()
314 assert(SL_RESULT_SUCCESS == result); in main()
316 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main()
317 assert(SL_RESULT_SUCCESS == result); in main()
332 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, count, mix_ids, mix_req); in main()
333 assert(SL_RESULT_SUCCESS == result); in main()
334 result = (*mixObject)->Realize(mixObject, SL_BOOLEAN_FALSE); in main()
335 assert(SL_RESULT_SUCCESS == result); in main()
340 result = (*mixObject)->GetInterface(mixObject, SL_IID_PRESETREVERB, &outputMixPresetReverb); in main()
341 assert(SL_RESULT_SUCCESS == result); in main()
343 result = (*outputMixPresetReverb)->GetPreset(outputMixPresetReverb, &getPresetReverb); in main()
344 assert(SL_RESULT_SUCCESS == result); in main()
347 result = (*outputMixPresetReverb)->SetPreset(outputMixPresetReverb, in main()
349 if (SL_RESULT_SUCCESS == result) { in main()
350 result = (*outputMixPresetReverb)->GetPreset(outputMixPresetReverb, in main()
352 assert(SL_RESULT_SUCCESS == result); in main()
358 outputMixPresetNumber, result); in main()
366 result = (*mixObject)->GetInterface(mixObject, SL_IID_ENVIRONMENTALREVERB, in main()
368 assert(SL_RESULT_SUCCESS == result); in main()
370 result = (*outputMixEnvironmentalReverb)->GetEnvironmentalReverbProperties( in main()
372 assert(SL_RESULT_SUCCESS == result); in main()
378 result = (*outputMixEnvironmentalReverb)->SetEnvironmentalReverbProperties( in main()
380 assert(SL_RESULT_SUCCESS == result); in main()
385 result = (*outputMixEnvironmentalReverb)->GetEnvironmentalReverbProperties( in main()
387 assert(SL_RESULT_SUCCESS == result); in main()
429 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main()
431 assert(SL_RESULT_SUCCESS == result); in main()
434 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main()
435 assert(SL_RESULT_SUCCESS == result); in main()
440 result = (*playerObject)->GetInterface(playerObject, SL_IID_EFFECTSEND, &playerEffectSend); in main()
441 assert(SL_RESULT_SUCCESS == result); in main()
446 result = (*playerEffectSend)->IsEnabled(playerEffectSend, outputMixPresetReverb, in main()
448 assert(SL_RESULT_SUCCESS == result); in main()
452 result = (*playerEffectSend)->GetDirectLevel(playerEffectSend, &directLevel); in main()
453 assert(SL_RESULT_SUCCESS == result); in main()
457 result = (*playerEffectSend)->GetSendLevel(playerEffectSend, outputMixPresetReverb, in main()
459 assert(SL_RESULT_SUCCESS == result); in main()
463 result = (*playerEffectSend)->EnableEffectSend(playerEffectSend, in main()
465 assert(SL_RESULT_SUCCESS == result); in main()
466 result = (*playerEffectSend)->IsEnabled(playerEffectSend, outputMixPresetReverb, in main()
468 assert(SL_RESULT_SUCCESS == result); in main()
470 result = (*playerEffectSend)->GetDirectLevel(playerEffectSend, &directLevel); in main()
471 assert(SL_RESULT_SUCCESS == result); in main()
473 result = (*playerEffectSend)->GetSendLevel(playerEffectSend, outputMixPresetReverb, in main()
475 assert(SL_RESULT_SUCCESS == result); in main()
482 result = (*playerEffectSend)->IsEnabled(playerEffectSend, in main()
484 assert(SL_RESULT_SUCCESS == result); in main()
488 result = (*playerEffectSend)->GetDirectLevel(playerEffectSend, &directLevel); in main()
489 assert(SL_RESULT_SUCCESS == result); in main()
493 result = (*playerEffectSend)->GetSendLevel(playerEffectSend, in main()
495 assert(SL_RESULT_SUCCESS == result); in main()
498 result = (*playerEffectSend)->EnableEffectSend(playerEffectSend, in main()
500 assert(SL_RESULT_SUCCESS == result); in main()
501 result = (*playerEffectSend)->IsEnabled(playerEffectSend, in main()
503 assert(SL_RESULT_SUCCESS == result); in main()
505 result = (*playerEffectSend)->GetDirectLevel(playerEffectSend, &directLevel); in main()
506 assert(SL_RESULT_SUCCESS == result); in main()
508 result = (*playerEffectSend)->GetSendLevel(playerEffectSend, in main()
510 assert(SL_RESULT_SUCCESS == result); in main()
521 result = (*playerObject)->GetInterface(playerObject, SL_IID_PRESETREVERB, in main()
523 assert(SL_RESULT_SUCCESS == result); in main()
525 result = (*playerPresetReverb)->GetPreset(playerPresetReverb, &getPresetReverb); in main()
526 if (SL_RESULT_SUCCESS == result) { in main()
529 result = (*playerPresetReverb)->SetPreset(playerPresetReverb, playerPresetNumber); in main()
530 if (SL_RESULT_SUCCESS == result) { in main()
531 result = (*playerPresetReverb)->GetPreset(playerPresetReverb, &getPresetReverb); in main()
532 assert(SL_RESULT_SUCCESS == result); in main()
537 playerPresetNumber, result); in main()
541 printf("Unable to get player default preset reverb, result=%u\n", result); in main()
548 result = (*playerObject)->GetInterface(playerObject, SL_IID_ENVIRONMENTALREVERB, in main()
550 assert(SL_RESULT_SUCCESS == result); in main()
553 result = (*playerEnvironmentalReverb)->GetEnvironmentalReverbProperties( in main()
555 if (SL_RESULT_SUCCESS == result) { in main()
561 result = (*playerEnvironmentalReverb)->SetEnvironmentalReverbProperties( in main()
563 assert(SL_RESULT_SUCCESS == result); in main()
568 result = (*playerEnvironmentalReverb)->GetEnvironmentalReverbProperties( in main()
570 assert(SL_RESULT_SUCCESS == result); in main()
584 result); in main()
590 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main()
591 assert(SL_RESULT_SUCCESS == result); in main()
595 result = (*playerObject)->GetInterface(playerObject, SL_IID_PREFETCHSTATUS, in main()
597 assert(SL_RESULT_SUCCESS == result); in main()
600 result = (*playerPrefetchStatus)->RegisterCallback(playerPrefetchStatus, prefetch_callback, in main()
602 assert(SL_RESULT_SUCCESS == result); in main()
603 result = (*playerPrefetchStatus)->SetCallbackEventsMask(playerPrefetchStatus, in main()
605 assert(SL_RESULT_SUCCESS == result); in main()
608 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PAUSED); in main()
609 assert(SL_RESULT_SUCCESS == result); in main()
624 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main()
625 assert(SL_RESULT_SUCCESS == result); in main()
635 result = (*playerObject)->GetInterface(playerObject, SL_IID_SEEK, &playerSeek); in main()
636 assert(SL_RESULT_SUCCESS == result); in main()
637 result = (*playerSeek)->SetLoop(playerSeek, SL_BOOLEAN_TRUE, (SLmillisecond) 0, in main()
639 assert(SL_RESULT_SUCCESS == result); in main()
643 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main()
644 assert(SL_RESULT_SUCCESS == result); in main()
649 result = (*playerPlay)->GetPlayState(playerPlay, &state); in main()
650 assert(SL_RESULT_SUCCESS == result); in main()