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