Home
last modified time | relevance | path

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

/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DSoundRecorder.java46 private static final int FORMAT = AudioFormat.ENCODING_PCM_16BIT; field in SoundRecorder
48 .getMinBufferSize(RECORDING_RATE, CHANNEL_IN, FORMAT);
94 RECORDING_RATE, CHANNEL_IN, FORMAT, BUFFER_SIZE * 3); in startRecording()
175 final int intSize = AudioTrack.getMinBufferSize(RECORDING_RATE, CHANNELS_OUT, FORMAT); in startPlay()
192 CHANNELS_OUT, FORMAT, intSize, AudioTrack.MODE_STREAM); in startPlay()