Home
last modified time | relevance | path

Searched refs:audioSource (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp69 SLDataSource audioSource; member in SLObjectCreationTest
123 &audioSource, &audioSink, 0, NULL/*iidArray*/, NULL/*required*/); in AudioPlayerCreation()
143 audioSource.pLocator = &locatorUriSrc; in UriSourceInitialization()
144 audioSource.pFormat = &formatMimeSrc; in UriSourceInitialization()
155 audioSource.pLocator = &locatorFdSrc; in FdSourceInitialization()
156 audioSource.pFormat = &formatMimeSrc; in FdSourceInitialization()
220 audioSource.pLocator = &locatorBufferQueue; in AudioPlayerFromPcmBqCreation()
221 audioSource.pFormat = &pcm; in AudioPlayerFromPcmBqCreation()
237 audioSource.pFormat = (void *)&formatMimeSrc; in AudioPlayerFromTsAbqCreation()
238 audioSource.pLocator = (void *)&locatorAbqSrc; in AudioPlayerFromTsAbqCreation()
[all …]
/cts/tests/tests/media/libaudiojni/
Dappendix-b-1-2-recording.cpp55 SLDataSource audioSource; in TestAudioRecording() local
142 audioSource.pLocator = (void *)&locator_mic; in TestAudioRecording()
143 audioSource.pFormat = NULL; in TestAudioRecording()
171 &audioSource, &audioSink, 0, iidArray, required); in TestAudioRecording()
Dappendix-b-1-1-buffer-queue.cpp77 SLDataSource audioSource; in TestPlayMusicBufferQueue() local
153 audioSource.pFormat = (void *)&pcm; in TestPlayMusicBufferQueue()
154 audioSource.pLocator = (void *)&bufferQueue; in TestPlayMusicBufferQueue()
175 &audioSource, &audioSink, 1, iidArray, required); in TestPlayMusicBufferQueue()
Daudio-track-native.cpp119 SLDataSource audioSource; in open() local
120 audioSource.pFormat = (void *)&pcm; in open()
121 audioSource.pLocator = (void *)&bufferQueue; in open()
138 &audioSource, &audioSink, 1 /* numInterfaces */, iidArray, required); in open()
Daudio-record-native.cpp103 SLDataSource audioSource; in open() local
104 audioSource.pLocator = (void *)&locator_mic; in open()
105 audioSource.pFormat = NULL; in open()
147 &audioSource, &audioSink, 2, iidArray, required); in open()
/cts/tests/tests/media/src/android/media/cts/
DMediaRandomTest.java285 final int[] audioSource = { in testRecorderRandomAction() local
304 final int index = mParam % audioSource.length; in testRecorderRandomAction()
305 mRecorder.setAudioSource(audioSource[index]); in testRecorderRandomAction()
DAudioHelper.java231 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument
233 this(audioSource, sampleRate, channelMask, format, bufferSize, isChannelIndex, in AudioRecordAudit()
237 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument
243 .setInternalCapturePreset(audioSource) in AudioRecordAudit()
DAudioRecordTest.java702 int audioSource, int sampleRateInHz, in createAudioRecord() argument
708 audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
720 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord()