Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackAudioThread.java21 import android.media.AudioFormat;
60 private final int mChannelConfigIn = AudioFormat.CHANNEL_IN_MONO;
61 private final int mAudioFormat = AudioFormat.ENCODING_PCM_16BIT;
66 private final int mChannelConfigOut = AudioFormat.CHANNEL_OUT_MONO;
86 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT); in computeDefaultSettings()
88 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in computeDefaultSettings()
155 new AudioFormat.Builder().setChannelMask(AudioFormat.CHANNEL_OUT_MONO) : in run()
156 new AudioFormat.Builder().setChannelIndexMask(1 << mChannelIndex)) in run()
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()
/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/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DSpeechActivity.java38 import android.media.AudioFormat;
208 SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in record()
218 AudioFormat.CHANNEL_IN_MONO, in record()
219 AudioFormat.ENCODING_PCM_16BIT, in record()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java39 import android.media.AudioFormat;
231 SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in record()
241 AudioFormat.CHANNEL_IN_MONO, in record()
242 AudioFormat.ENCODING_PCM_16BIT, in record()
/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()