Wednesday, February 08, 2006

I hate Symbian C++

Well... i have been hating it for some time now.
I have finally achieved something, which for all intents and purposes should be a very simple task: to record audio and muck around a little with the content.

I have finally managed, but damn I wish there were more documentation on this stuff.
In case you happen to be working on this stuff: find the Audio_Streaming_Example.Take a look at it, and understand that in most new versions of symbian, the buffers only get filed with 320 bytes, regardless of how large the buffer is.
Also - make sure that you have an Active Objects timer running. Running this stuff from a console app is virtually impossible.

Oh - and if you don't ingest the object, the timer may stop - i am not clear on whether it always stops, but this is very worth noting. If you happen to be sending stuff over http,be careful, since it may garble the recording if you send anything too large.

So much fun...

No comments: