/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 208 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() argument 218 audioParamCheck(audioSource, sampleRateInHz, channelConfig, audioFormat); in AudioRecord() 249 private void audioParamCheck(int audioSource, int sampleRateInHz, in audioParamCheck() argument 254 if ( (audioSource < MediaRecorder.AudioSource.DEFAULT) || in audioParamCheck() 255 ((audioSource > MediaRecorder.getAudioSourceMax()) && in audioParamCheck() 256 (audioSource != MediaRecorder.AudioSource.HOTWORD)) ) { in audioParamCheck() 259 mRecordSource = audioSource; in audioParamCheck()
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestPlayUri2.cpp | 72 SLDataSource audioSource; in TestPlayUri() local 133 audioSource.pFormat = (void *)&mime; in TestPlayUri() 134 audioSource.pLocator = (void *)&uri; in TestPlayUri() 137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestPlayUri() 143 audioSource.pLocator = (void *)&uri; in TestPlayUri() 144 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player2, &audioSource, &audioSink, 2, in TestPlayUri()
|
D | slesTest_playStates.cpp | 57 SLDataSource audioSource; in TestPlayUri() local 119 audioSource.pFormat = (void*)&mime; in TestPlayUri() 120 audioSource.pLocator = (void*)&uri; in TestPlayUri() 123 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri()
|
D | slesTestPlayStreamType.cpp | 57 SLDataSource audioSource; in TestStreamTypeConfiguration() local 124 audioSource.pFormat = (void*)&mime; in TestStreamTypeConfiguration() 125 audioSource.pLocator = (void*)&uri; in TestStreamTypeConfiguration() 128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestStreamTypeConfiguration()
|
D | slesTestLoopUri.cpp | 131 SLDataSource audioSource; in TestLoopUri() local 175 audioSource.pFormat = (void *)&mime; in TestLoopUri() 176 audioSource.pLocator = (void *)&uri; in TestLoopUri() 189 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestLoopUri()
|
D | slesTestPlayUri.cpp | 134 SLDataSource audioSource; in TestPlayUri() local 181 audioSource.pFormat = (void *)&mime; in TestPlayUri() 182 audioSource.pLocator = (void *)&uri; in TestPlayUri() 191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri()
|
D | slesTestGetPositionUri.cpp | 136 SLDataSource audioSource; in TestGetPositionUri() local 188 audioSource.pFormat = (void *)&mime; in TestGetPositionUri() 189 audioSource.pLocator = (void *)&uri; in TestGetPositionUri() 198 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestGetPositionUri()
|
D | slesTestManyPlayers.cpp | 46 SLDataSource audioSource; variable 169 audioSource.pFormat = (void *)&mime; in TestSetup() 170 audioSource.pLocator = (void *)&uri; in TestSetup() 214 &audioSource, &audioSink, MAX_NUMBER_INTERFACES, iidArray, required); in CreatePlayer()
|
D | slesTestSlowDownUri.cpp | 187 SLDataSource audioSource; in TestSlowDownUri() local 230 audioSource.pFormat = (void *)&mime; in TestSlowDownUri() 231 audioSource.pLocator = (void *)&uri; in TestSlowDownUri() 247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestSlowDownUri()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestPlayFdPath.cpp | 59 SLDataSource audioSource; in TestPlayPathFromFD() local 126 audioSource.pFormat = (void*)&mime; in TestPlayPathFromFD() 127 audioSource.pLocator = (void*)&locatorFd; in TestPlayPathFromFD() 130 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, in TestPlayPathFromFD()
|
D | slesTestVirtualizerPath.cpp | 60 SLDataSource audioSource; in TestVirtualizerPathFromFD() local 138 audioSource.pFormat = (void*)&mime; in TestVirtualizerPathFromFD() 140 audioSource.pLocator = (void*)&locatorFd; in TestVirtualizerPathFromFD() 142 audioSource.pLocator = (void*)&locatorUri; in TestVirtualizerPathFromFD() 146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestVirtualizerPathFromFD()
|
D | slesTestBassBoostPath.cpp | 59 SLDataSource audioSource; in TestBassBoostPathFromFD() local 137 audioSource.pFormat = (void*)&mime; in TestBassBoostPathFromFD() 139 audioSource.pLocator = (void*)&locatorFd; in TestBassBoostPathFromFD() 141 audioSource.pLocator = (void*)&locatorUri; in TestBassBoostPathFromFD() 145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestBassBoostPathFromFD()
|
D | slesTestSawtoothBufferQueue.cpp | 114 SLDataSource audioSource; in TestPlaySawtoothBufferQueue() local 177 audioSource.pFormat = (void *)&pcm; in TestPlaySawtoothBufferQueue() 178 audioSource.pLocator = (void *)&bufferQueue; in TestPlaySawtoothBufferQueue() 204 &audioSource, &audioSink, 1, iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
|
D | slesTestEqFdPath.cpp | 64 SLDataSource audioSource; in TestEQPathFromFD() local 142 audioSource.pFormat = (void*)&mime; in TestEQPathFromFD() 144 audioSource.pLocator = (void*)&locatorFd; in TestEQPathFromFD() 146 audioSource.pLocator = (void*)&locatorUri; in TestEQPathFromFD() 150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestEQPathFromFD()
|
D | slesTestEqOutputPath.cpp | 64 SLDataSource audioSource; in TestEQPathFromFD() local 149 audioSource.pFormat = (void*)&mime; in TestEQPathFromFD() 151 audioSource.pLocator = (void*)&locatorFd; in TestEQPathFromFD() 153 audioSource.pLocator = (void*)&locatorUri; in TestEQPathFromFD() 157 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, in TestEQPathFromFD()
|
D | slesTestSendToPresetReverb.cpp | 83 SLDataSource audioSource; in TestSendToPresetReverb() local 173 audioSource.pLocator = (void*)&locatorUri; in TestSendToPresetReverb() 186 audioSource.pLocator = (void*)&locatorFd; in TestSendToPresetReverb() 198 audioSource.pFormat = (void*)&mime; in TestSendToPresetReverb() 201 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 3, in TestSendToPresetReverb()
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 108 SLDataSource audioSource; in TestPlayUri() local 155 audioSource.pFormat = (void *)&mime; in TestPlayUri() 156 audioSource.pLocator = (void *)&uri; in TestPlayUri() 166 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res); in TestPlayUri()
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 189 SLDataSource audioSource; in TestPlayStream() local 240 audioSource.pFormat = (void *)&mime; in TestPlayStream() 241 audioSource.pLocator = (void *)&streamLocator; in TestPlayStream() 250 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayStream()
|
/frameworks/wilhelm/tests/listening/ |
D | slesTest_playMuteSolo.cpp | 172 SLDataSource audioSource; in TestPlayUri() local 234 audioSource.pFormat = (void*)&mime; in TestPlayUri() 235 audioSource.pLocator = (void*)&uri; in TestPlayUri() 238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, in TestPlayUri()
|
/frameworks/av/cmds/stagefright/ |
D | record.cpp | 307 sp<MediaSource> audioSource = new SineSource(kSampleRate, kNumChannels); in main() local 312 player->setSource(audioSource); in main() 329 OMXCodec::Create(client.interface(), encMeta, true, audioSource); in main()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 57 const sp<AnotherPacketSource> &audioSource,
|
D | PlaylistFetcher.cpp | 332 const sp<AnotherPacketSource> &audioSource, in startAsync() argument 342 if (audioSource != NULL) { in startAsync() 343 msg->setPointer("audioSource", audioSource.get()); in startAsync()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 806 sp<AudioSource> audioSource = in createAudioSource() local 812 status_t err = audioSource->initCheck(); in createAudioSource() 849 CHECK(audioSource->getFormat()->findInt32( in createAudioSource() 864 true /* createEncoder */, audioSource); in createAudioSource() 865 mAudioSourceNode = audioSource; in createAudioSource()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | PlaybackSession.cpp | 1062 sp<AudioSource> audioSource = new AudioSource( in addAudioSource() local 1067 if (audioSource->initCheck() == OK) { in addAudioSource() 1069 false /* isVideo */, audioSource, false /* isRepeaterSource */, in addAudioSource()
|