HMT - 1
HMT Software Overview
Using the HMT
HMT Setup Guide
Development Example – Audio Capture
Audio is delivered to applications using the standard Android mechanisms, so an application that records audio should work out of the box on the HMT.
It is possible to record audio in mono or stereo at the following sample rates:
The WearHF service handles microphone selection automatically and audio delivered to an application after the HMT has preformed noise cancellation, so an application simply needs to record from the microphone.
int bufferSize = AudioRecord.getMinBufferSize(
mSampleRate, monoOrStereo, AudioFormat.ENCODING_PCM_16BIT);
AudioRecord audioRecorder = new AudioRecord(
8000, // Sample rate