Searched refs:RECORDING_RATE (Results 1 – 1 of 1) sorted by relevance
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | SoundRecorder.java | 43 private static final int RECORDING_RATE = 8000; // can go up to 44K, if needed 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() 191 mAudioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, RECORDING_RATE, in startPlay()
|