Lines Matching refs:audioPlayer
212 static void setAudioStreamType(SLObjectItf audioPlayer, SLint32 audioStreamType) {
214 OpenSL(audioPlayer, GetInterface, SL_IID_ANDROIDCONFIGURATION, &playerConfig);
568 SLObjectItf &audioPlayer, SLEngineItf &engineInterface) {
586 OpenSL(engineInterface, CreateAudioPlayer, &audioPlayer, &playingSrc,
588 setAudioStreamType(audioPlayer, audioStreamType);
589 OpenSL(audioPlayer, Realize, SL_BOOLEAN_FALSE);
673 SLObjectItf audioPlayer = NULL;
689 GetSLChannels(), audioStreamType_, outputMix, audioPlayer,
691 OpenSL(audioPlayer, GetInterface, SL_IID_PLAY, &audioPlayerPlay);
692 OpenSL(audioPlayer, GetInterface, SL_IID_ANDROIDSIMPLEBUFFERQUEUE,
703 if (audioPlayer != NULL) {
707 VoidOpenSL(audioPlayer, AbortAsyncOperation);
708 VoidOpenSL(audioPlayer, Destroy);
710 audioPlayer = NULL;