Home
last modified time | relevance | path

Searched refs:audioSink (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp61 SLDataSink audioSink; in TestPlayUri() local
96 audioSink.pLocator = (void*)&locator_outputmix; in TestPlayUri()
97 audioSink.pFormat = NULL; in TestPlayUri()
122 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri()
DslesTestPlayUri2.cpp77 SLDataSink audioSink; in TestPlayUri() local
118 audioSink.pLocator = (void *)&locator_outputmix; in TestPlayUri()
119 audioSink.pFormat = NULL; in TestPlayUri()
137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestPlayUri()
144 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player2, &audioSource, &audioSink, 2, in TestPlayUri()
DslesTestPlayStreamType.cpp62 SLDataSink audioSink; in TestStreamTypeConfiguration() local
99 audioSink.pLocator = (void*)&locator_outputmix; in TestStreamTypeConfiguration()
100 audioSink.pFormat = NULL; in TestStreamTypeConfiguration()
128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestStreamTypeConfiguration()
DslesTestLoopUri.cpp132 SLDataSink audioSink; in TestLoopUri() local
178 audioSink.pLocator = (void *)&locator_outputmix; in TestLoopUri()
179 audioSink.pFormat = NULL; in TestLoopUri()
186 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestLoopUri()
DslesTestPlayUri.cpp135 SLDataSink audioSink; in TestPlayUri() local
184 audioSink.pLocator = (void *)&locator_outputmix; in TestPlayUri()
185 audioSink.pFormat = NULL; in TestPlayUri()
188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri()
DslesTestGetPositionUri.cpp137 SLDataSink audioSink; in TestGetPositionUri() local
191 audioSink.pLocator = (void *)&locator_outputmix; in TestGetPositionUri()
192 audioSink.pFormat = NULL; in TestGetPositionUri()
195 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestGetPositionUri()
DslesTestManyPlayers.cpp50 SLDataSink audioSink; variable
173 audioSink.pLocator = (void *)&locator_outputmix; in TestSetup()
174 audioSink.pFormat = NULL; in TestSetup()
212 &audioSource, &audioSink, MAX_NUMBER_INTERFACES, iidArray, required); in CreatePlayer()
DslesTestSlowDownUri.cpp188 SLDataSink audioSink; in TestSlowDownUri() local
233 audioSink.pLocator = (void *)&locator_outputmix; in TestSlowDownUri()
234 audioSink.pFormat = NULL; in TestSlowDownUri()
244 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestSlowDownUri()
/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp115 SLDataSink audioSink; in TestPlaySawtoothBufferQueue() local
180 audioSink.pLocator = (void *)&locator_outputmix; in TestPlaySawtoothBufferQueue()
181 audioSink.pFormat = NULL; in TestPlaySawtoothBufferQueue()
201 &audioSource, &audioSink, 1, iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
DslesTestPlayFdPath.cpp85 SLDataSink audioSink; in TestPlayPathFromFD() local
119 audioSink.pLocator = (void*)&locator_outputmix; in TestPlayPathFromFD()
120 audioSink.pFormat = NULL; in TestPlayPathFromFD()
151 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, in TestPlayPathFromFD()
DslesTestVirtualizerPath.cpp69 SLDataSink audioSink; in TestVirtualizerPathFromFD() local
104 audioSink.pLocator = (void*)&locator_outputmix; in TestVirtualizerPathFromFD()
105 audioSink.pFormat = NULL; in TestVirtualizerPathFromFD()
146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestVirtualizerPathFromFD()
DslesTestBassBoostPath.cpp68 SLDataSink audioSink; in TestBassBoostPathFromFD() local
103 audioSink.pLocator = (void*)&locator_outputmix; in TestBassBoostPathFromFD()
104 audioSink.pFormat = NULL; in TestBassBoostPathFromFD()
145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestBassBoostPathFromFD()
DslesTestEqFdPath.cpp73 SLDataSink audioSink; in TestEQPathFromFD() local
108 audioSink.pLocator = (void*)&locator_outputmix; in TestEQPathFromFD()
109 audioSink.pFormat = NULL; in TestEQPathFromFD()
150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestEQPathFromFD()
DslesTestEqOutputPath.cpp73 SLDataSink audioSink; in TestEQPathFromFD() local
117 audioSink.pLocator = (void*)&locator_outputmix; in TestEQPathFromFD()
118 audioSink.pFormat = NULL; in TestEQPathFromFD()
157 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, in TestEQPathFromFD()
DslesTestSendToPresetReverb.cpp90 SLDataSink audioSink; in TestSendToPresetReverb() local
137 audioSink.pLocator = (void*)&locator_outputmix; in TestSendToPresetReverb()
138 audioSink.pFormat = NULL; in TestSendToPresetReverb()
200 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 3, in TestSendToPresetReverb()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp109 SLDataSink audioSink; in TestPlayUri() local
158 audioSink.pLocator = (void *)&locator_outputmix; in TestPlayUri()
159 audioSink.pFormat = NULL; in TestPlayUri()
163 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res); in TestPlayUri()
/frameworks/av/cmds/stagefright/
DAudioPlayer.h47 AudioPlayer(const sp<MediaPlayerBase::AudioSink> &audioSink,
106 MediaPlayerBase::AudioSink *audioSink,
DAudioPlayer.cpp41 const sp<MediaPlayerBase::AudioSink> &audioSink, in AudioPlayer() argument
59 mAudioSink(audioSink), in AudioPlayer()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java188 ParcelFileDescriptor audioSink = clientPipe.second; in beginRecognitionLocked() local
193 streamAudio(tag, recognitionRequest, clientCallback, audioSink); in beginRecognitionLocked()
210 ParcelFileDescriptor audioSink) { in streamAudio() argument
219 audioSink.close(); in streamAudio()
247 new ParcelFileDescriptor.AutoCloseOutputStream(audioSink)) { in streamAudio()
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp190 SLDataSink audioSink; in TestPlayStream() local
243 audioSink.pLocator = (void *)&locator_outputmix; in TestPlayStream()
244 audioSink.pFormat = NULL; in TestPlayStream()
247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayStream()
/frameworks/wilhelm/tests/listening/
DslesTest_playMuteSolo.cpp177 SLDataSink audioSink; in TestPlayUri() local
212 audioSink.pLocator = (void*)&locator_outputmix; in TestPlayUri()
213 audioSink.pFormat = NULL; in TestPlayUri()
238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestPlayUri()
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h92 AudioSink *audioSink, void *buffer, size_t size, void *cookie,
326 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink() argument
/frameworks/av/include/media/
DMediaPlayerInterface.h92 AudioSink *audioSink, void *buffer, size_t size, void *cookie,
326 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink() argument
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1146 for (AudioDevicePort audioSink : mAudioSink) { in updateAudioConfigLocked()
1147 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked()
1170 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked()
1171 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked()
1172 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked()
1174 if (!intArrayContains(audioSink.channelMasks(), sinkChannelMask)) { in updateAudioConfigLocked()
1177 if (!intArrayContains(audioSink.formats(), sinkFormat)) { in updateAudioConfigLocked()
1180 sinkConfig = audioSink.buildConfig(sinkSamplingRate, sinkChannelMask, in updateAudioConfigLocked()
1297 AudioDevicePort audioSink = in updateAudioSinkLocked() local
1299 if (audioSink != null) { in updateAudioSinkLocked()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordAudioStreamCopier.java324 ParcelFileDescriptor audioSink, int copyBufferLength, int detectorType, int uid) { in SingleAudioStreamCopyTask() argument
327 mAudioSink = audioSink; in SingleAudioStreamCopyTask()

12