/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 | 56 SLDataSource audioSource; in TestPlayUri() local 118 audioSource.pFormat = (void*)&mime; in TestPlayUri() 119 audioSource.pLocator = (void*)&uri; in TestPlayUri() 122 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 | slesTestPlayUri.cpp | 131 SLDataSource audioSource; in TestPlayUri() local 178 audioSource.pFormat = (void *)&mime; in TestPlayUri() 179 audioSource.pLocator = (void *)&uri; in TestPlayUri() 188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri()
|
D | slesTestLoopUri.cpp | 128 SLDataSource audioSource; in TestLoopUri() local 172 audioSource.pFormat = (void *)&mime; in TestLoopUri() 173 audioSource.pLocator = (void *)&uri; in TestLoopUri() 186 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestLoopUri()
|
D | slesTestGetPositionUri.cpp | 133 SLDataSource audioSource; in TestGetPositionUri() local 185 audioSource.pFormat = (void *)&mime; in TestGetPositionUri() 186 audioSource.pLocator = (void *)&uri; in TestGetPositionUri() 195 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestGetPositionUri()
|
D | slesTestManyPlayers.cpp | 46 SLDataSource audioSource; variable 167 audioSource.pFormat = (void *)&mime; in TestSetup() 168 audioSource.pLocator = (void *)&uri; in TestSetup() 212 &audioSource, &audioSink, MAX_NUMBER_INTERFACES, iidArray, required); in CreatePlayer()
|
D | slesTestSlowDownUri.cpp | 184 SLDataSource audioSource; in TestSlowDownUri() local 227 audioSource.pFormat = (void *)&mime; in TestSlowDownUri() 228 audioSource.pLocator = (void *)&uri; in TestSlowDownUri() 244 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestSlowDownUri()
|
/frameworks/wilhelm/tests/examples/ |
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 | 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 | 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 | slesTestSawtoothBufferQueue.cpp | 111 SLDataSource audioSource; in TestPlaySawtoothBufferQueue() local 174 audioSource.pFormat = (void *)&pcm; in TestPlaySawtoothBufferQueue() 175 audioSource.pLocator = (void *)&bufferQueue; in TestPlaySawtoothBufferQueue() 201 &audioSource, &audioSink, 1, iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue()
|
D | slesTestPlayFdPath.cpp | 80 SLDataSource audioSource; in TestPlayPathFromFD() local 147 audioSource.pFormat = (void*)&mime; in TestPlayPathFromFD() 148 audioSource.pLocator = (void*)&locatorFd; in TestPlayPathFromFD() 151 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, in TestPlayPathFromFD()
|
D | slesTestSendToPresetReverb.cpp | 82 SLDataSource audioSource; in TestSendToPresetReverb() local 172 audioSource.pLocator = (void*)&locatorUri; in TestSendToPresetReverb() 185 audioSource.pLocator = (void*)&locatorFd; in TestSendToPresetReverb() 197 audioSource.pFormat = (void*)&mime; in TestSendToPresetReverb() 200 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 3, in TestSendToPresetReverb()
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 105 SLDataSource audioSource; in TestPlayUri() local 152 audioSource.pFormat = (void *)&mime; in TestPlayUri() 153 audioSource.pLocator = (void *)&uri; in TestPlayUri() 163 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res); in TestPlayUri()
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 186 SLDataSource audioSource; in TestPlayStream() local 237 audioSource.pFormat = (void *)&mime; in TestPlayStream() 238 audioSource.pLocator = (void *)&streamLocator; in TestPlayStream() 247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayStream()
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 298 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() argument 302 .setInternalCapturePreset(audioSource) in AudioRecord() 764 private void audioParamCheck(int audioSource, int sampleRateInHz, int audioFormat) in audioParamCheck() argument 769 if ( (audioSource < MediaRecorder.AudioSource.DEFAULT) || in audioParamCheck() 770 ((audioSource > MediaRecorder.getAudioSourceMax()) && in audioParamCheck() 771 (audioSource != MediaRecorder.AudioSource.RADIO_TUNER) && in audioParamCheck() 772 (audioSource != MediaRecorder.AudioSource.ECHO_REFERENCE) && in audioParamCheck() 773 (audioSource != MediaRecorder.AudioSource.HOTWORD)) ) { in audioParamCheck() 774 throw new IllegalArgumentException("Invalid audio source " + audioSource); in audioParamCheck() 776 mRecordSource = audioSource; in audioParamCheck()
|
/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 | 299 sp<MediaSource> audioSource = new SineSource(kSampleRate, kNumChannels); in main() local 304 player->setSource(audioSource); in main() 325 MediaCodecSource::Create(looper, encMeta, audioSource); in main()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 89 LinkedBlockingQueue<const sp<WebmFrame> >& audioSource, in WebmFrameSinkThread() 94 mAudioFrames(audioSource), in WebmFrameSinkThread()
|
D | WebmFrameThread.h | 70 LinkedBlockingQueue<const sp<WebmFrame> >& audioSource,
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 67 const sp<AnotherPacketSource> &audioSource,
|
D | PlaylistFetcher.cpp | 548 const sp<AnotherPacketSource> &audioSource, in startAsync() argument 560 if (audioSource != NULL) { in startAsync() 561 msg->setPointer("audioSource", audioSource.get()); in startAsync()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1090 sp<AudioSource> audioSource = in createAudioSource() local 1103 status_t err = audioSource->initCheck(); in createAudioSource() 1149 CHECK(audioSource->getFormat()->findInt32( in createAudioSource() 1162 MediaCodecSource::Create(mLooper, format, audioSource); in createAudioSource() 1165 audioSource->addAudioDeviceCallback(callback); in createAudioSource() 1167 mAudioSourceNode = audioSource; in createAudioSource()
|