The audio recorder is created with a capture://audio
locator.
The supported encoding types are listed in the property audio.encodings
.
Rate, channels, bits, and endian can be set with the corresponding parameters.
Some encoding formats support only certain combinations. MediaException
will
be thrown when using an invalid combination. For further information, see Audio & Video at Forum Nokia.
Example locator with parameters:
capture://audio?encoding=audio/wav&channels=1&rate=8000
Recording parameter rate is supported for WAV and MP4 formats but not for AMR.
The default recording size limit is 128 kilobytes. It can be changed
with RecordControl.setRecordSizeLimit( int size )
.
Recording size limit cannot be changed when a player is recording or
recording has been stopped but not committed. The RecordControl.setRecordSizeLimit(
int size )
method only works before the recording starts or after
the recording has been committed.
Audio recorder supports the following controls: RecordControl
.