Home
last modified time | relevance | path

Searched refs:AudioFormat (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/
DAndroidTest.java27 import android.media.AudioFormat;
640 AudioFormat.CHANNEL_CONFIGURATION_MONO, in recordAudioToFile()
641 AudioFormat.ENCODING_PCM_16BIT); in recordAudioToFile()
644 AudioFormat.CHANNEL_CONFIGURATION_MONO, in recordAudioToFile()
645 AudioFormat.ENCODING_PCM_16BIT, in recordAudioToFile()
694 AudioFormat.CHANNEL_CONFIGURATION_MONO, in playAudioFromFile()
695 AudioFormat.ENCODING_PCM_16BIT); in playAudioFromFile()
700 AudioFormat.CHANNEL_CONFIGURATION_MONO, in playAudioFromFile()
701 AudioFormat.ENCODING_PCM_16BIT, in playAudioFromFile()
797 AudioFormat.CHANNEL_CONFIGURATION_MONO, in playAudioInThread()
[all …]
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java16 import android.media.AudioFormat;
247 channelConfig = AudioFormat.CHANNEL_OUT_MONO; in getMinOutputFrameSize()
249 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in getMinOutputFrameSize()
254 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / in getMinOutputFrameSize()
271 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT) / in getMinInputFrameSize()
DWebRtcAudioTrack.java18 import android.media.AudioFormat;
173 AudioFormat.CHANNEL_OUT_MONO, in initPlayout()
174 AudioFormat.ENCODING_PCM_16BIT); in initPlayout()
188 AudioFormat.CHANNEL_OUT_MONO, in initPlayout()
189 AudioFormat.ENCODING_PCM_16BIT, in initPlayout()
DWebRtcAudioRecord.java18 import android.media.AudioFormat;
179 AudioFormat.CHANNEL_IN_MONO, in initRecording()
180 AudioFormat.ENCODING_PCM_16BIT); in initRecording()
197 AudioFormat.CHANNEL_IN_MONO, in initRecording()
198 AudioFormat.ENCODING_PCM_16BIT, in initRecording()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DRecorderRunnable.java20 import android.media.AudioFormat;
49 private int mChannelConfig = AudioFormat.CHANNEL_IN_MONO;
50 private int mAudioFormat = AudioFormat.ENCODING_PCM_16BIT;
135 new AudioFormat.Builder() in initRecord()
136 .setChannelMask(AudioFormat.CHANNEL_IN_MONO) : in initRecord()
137 new AudioFormat in initRecord()
202 new AudioFormat.Builder() in initBufferRecord()
203 .setChannelMask(AudioFormat.CHANNEL_IN_MONO) : in initBufferRecord()
204 new AudioFormat in initBufferRecord()
DLoopbackAudioThread.java21 import android.media.AudioFormat;
59 private final int mChannelConfigIn = AudioFormat.CHANNEL_IN_MONO;
60 private final int mAudioFormat = AudioFormat.ENCODING_PCM_16BIT;
65 private final int mChannelConfigOut = AudioFormat.CHANNEL_OUT_MONO;
145 new AudioFormat.Builder().setChannelMask(AudioFormat.CHANNEL_OUT_MONO) : in run()
146 new AudioFormat.Builder().setChannelIndexMask(1 << mChannelIndex)) in run()
DLoopbackApplication.java23 import android.media.AudioFormat;
366 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT); in computeDefaults()
370 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in computeDefaults()
/external/sonic/
DMain.java9 import javax.sound.sampled.AudioFormat;
71 AudioFormat format = stream.getFormat(); in main()
/external/webrtc/webrtc/common_audio/
Dwav_header.cc38 uint16_t AudioFormat; member
166 WriteLE16(&header.fmt.AudioFormat, format); in WriteWavHeader()
210 *format = static_cast<WavFormat>(ReadLE16(header.fmt.AudioFormat)); in ReadWavHeader()