Searched refs:AudioFormat (Results 1 – 10 of 10) sorted by relevance
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | LoopbackAudioThread.java | 21 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()
|
D | RecorderRunnable.java | 20 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/ |
D | AndroidTest.java | 27 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/ |
D | WebRtcAudioManager.java | 16 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()
|
D | WebRtcAudioTrack.java | 18 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()
|
D | WebRtcAudioRecord.java | 18 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/ |
D | SpeechActivity.java | 38 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/ |
D | SpeechActivity.java | 39 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/ |
D | Main.java | 9 import javax.sound.sampled.AudioFormat; 71 AudioFormat format = stream.getFormat(); in main()
|
/external/webrtc/webrtc/common_audio/ |
D | wav_header.cc | 38 uint16_t AudioFormat; member 166 WriteLE16(&header.fmt.AudioFormat, format); in WriteWavHeader() 210 *format = static_cast<WavFormat>(ReadLE16(header.fmt.AudioFormat)); in ReadWavHeader()
|