Replace SoundConsumer with modified BMediaRecorder from Be Sample Code.