Some questions regarding CMdaAudioRecorderUtility
| Mon, 2005-02-21 12:02 | |
|
Hi guys,
I am trying to create a very simple audio recording application (record from microphone). However, I have encountered bugs which bothers me a lot, as I do not know how to solve them due to me being a newbie in terms of Symbian programming. Any help is really appreciated. 1) While recording is in progress, if I call iRecorder->Stop(), is it a guarantee that the observer's MoscoStateChangeEvent method will definitely be called? According to my book, it will be called with event type of ERecording and error type of KErrNone. If the recording stops due to reaching file size limit (assuming I'm recording to a file), the observer's MoscoStateChangeEvent will also be called, but this time round with event type of ERecording and error type of KErrEof. However, the strange thing now is that when I attempt to stop the player, yes it does stop, but the observer is not notified. 2) Also, I tried to limit the file size by using iRecorder->SetMaxWriteLength(6). This should limit the recorder to 6 kb of recording right? However, once again, the observer is not notified, and when I went into the file manager that I've installed, the audio file generated is way more than the limit. |
|





