Home
last modified time | relevance | path

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

/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp66 SLDataSource audioSource; member in SLObjectCreationTest
120 &audioSource, &audioSink, 0, NULL/*iidArray*/, NULL/*required*/); in AudioPlayerCreation()
140 audioSource.pLocator = &locatorUriSrc; in UriSourceInitialization()
141 audioSource.pFormat = &formatMimeSrc; in UriSourceInitialization()
152 audioSource.pLocator = &locatorFdSrc; in FdSourceInitialization()
153 audioSource.pFormat = &formatMimeSrc; in FdSourceInitialization()
217 audioSource.pLocator = &locatorBufferQueue; in AudioPlayerFromPcmBqCreation()
218 audioSource.pFormat = &pcm; in AudioPlayerFromPcmBqCreation()
234 audioSource.pFormat = (void *)&formatMimeSrc; in AudioPlayerFromTsAbqCreation()
235 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.cpp105 SLDataSource audioSource; in open() local
106 audioSource.pLocator = (void *)&locator_mic; in open()
107 audioSource.pFormat = NULL; in open()
149 &audioSource, &audioSink, 2, iidArray, required); in open()
/cts/tests/tests/media/src/android/media/cts/
DMediaRandomTest.java292 final int[] audioSource = { in testRecorderRandomAction() local
311 final int index = mParam % audioSource.length; in testRecorderRandomAction()
312 mRecorder.setAudioSource(audioSource[index]); in testRecorderRandomAction()
DAudioHelper.java405 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument
407 this(audioSource, sampleRate, channelMask, format, bufferSize, isChannelIndex, in AudioRecordAudit()
411 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument
417 .setInternalCapturePreset(audioSource) in AudioRecordAudit()
DAudioRecordTest.java1022 int audioSource, int sampleRateInHz, in createAudioRecord() argument
1028 audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
1040 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord()