Lines Matching refs:DownmixerBufferProvider
47 AudioMixer::DownmixerBufferProvider::DownmixerBufferProvider() : AudioBufferProvider(),
52 AudioMixer::DownmixerBufferProvider::~DownmixerBufferProvider()
54 ALOGV("AudioMixer deleting DownmixerBufferProvider (%p)", this);
58 status_t AudioMixer::DownmixerBufferProvider::getNextBuffer(AudioBufferProvider::Buffer *pBuffer,
60 //ALOGV("DownmixerBufferProvider::getNextBuffer()");
77 ALOGE("DownmixerBufferProvider::getNextBuffer() error: NULL track buffer provider");
82 void AudioMixer::DownmixerBufferProvider::releaseBuffer(AudioBufferProvider::Buffer *pBuffer) {
83 //ALOGV("DownmixerBufferProvider::releaseBuffer()");
87 ALOGE("DownmixerBufferProvider::releaseBuffer() error: NULL track buffer provider");
135 t->downmixerBufferProvider = NULL;
167 delete t->downmixerBufferProvider;
218 t->downmixerBufferProvider = NULL;
258 if (pTrack->downmixerBufferProvider != NULL) {
261 pTrack->bufferProvider = pTrack->downmixerBufferProvider->mTrackBufferProvider;
262 delete pTrack->downmixerBufferProvider;
263 pTrack->downmixerBufferProvider = NULL;
276 DownmixerBufferProvider* pDbp = new DownmixerBufferProvider();
302 // process() function is called directly (see DownmixerBufferProvider::getNextBuffer())
361 pTrack->downmixerBufferProvider = pDbp;
368 pTrack->downmixerBufferProvider = NULL;
569 downmixerBufferProvider != NULL ? MAX_NUM_CHANNELS : channelCount,
612 if (mState.tracks[name].downmixerBufferProvider != NULL) {
614 if (mState.tracks[name].downmixerBufferProvider->mTrackBufferProvider != bufferProvider) {
619 mState.tracks[name].bufferProvider = mState.tracks[name].downmixerBufferProvider;
622 mState.tracks[name].downmixerBufferProvider->mTrackBufferProvider = bufferProvider;