103 : sampleInfo_(sampleFormat)
105 JAMI_DBG(
"Creating OpenSL playback stream %s", sampleFormat.
toString().c_str());
108 result = (*slEngine)->CreateOutputMix(
slEngine, &outputMixObjectItf_, 0,
nullptr,
nullptr);
112 result = (*outputMixObjectItf_)->Realize(outputMixObjectItf_,
SL_BOOLEAN_FALSE);
131 result = (*slEngine)->CreateAudioPlayer(
slEngine,
135 sizeof(
ids) /
sizeof(
ids[0]),
141 result = (*playerObjectItf_)
143 result = (*playerConfig)
154 result = (*playerObjectItf_)->GetInterface(playerObjectItf_,
SL_IID_PLAY, &playItf_);
158 result = (*playerObjectItf_)
163 result = (*playBufferQueueItf_)->RegisterCallback(playBufferQueueItf_,
bqPlayerCallback,
this);