Home
last modified time | relevance | path

Searched refs:audioSource (Results 1 – 9 of 9) 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/apps/CtsVerifier/jni/megaaudio/player/
DNativeAudioSource.cpp43 AudioSource* audioSource = (AudioSource*)native_source_ptr; in Java_org_hyphonate_megaaudio_player_NativeAudioSource_triggerN() local
44 audioSource->trigger(); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_triggerN()
51 AudioSource* audioSource = (AudioSource*)native_source_ptr; in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN() local
52 int numFrames = audioSource->pull(sAudioBuffer, num_frames, num_chans); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_pullN()
/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.java300 final int[] audioSource = { in testRecorderRandomAction() local
319 final int index = mParam % audioSource.length; in testRecorderRandomAction()
320 mRecorder.setAudioSource(audioSource[index]); in testRecorderRandomAction()
DAudioHelper.java417 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument
419 this(audioSource, sampleRate, channelMask, format, bufferSize, isChannelIndex, in AudioRecordAudit()
423 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument
429 .setInternalCapturePreset(audioSource) in AudioRecordAudit()
DAudioRecordTest.java969 int audioSource, int sampleRateInHz, in createAudioRecord() argument
975 audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
987 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord()