views:

140

answers:

3

I've been playing with libmms and iPhone for a bit, and I have managed to connect and read from the mms stream, but after this I'm at a loss of how to send the data from mmsx_read into the AudioQueue, I assume it will have to be using the AudioQueueNewOutput method from Audio Queue Services... I've spent quite a bit of time searching but I can't find any examples...

I also took a look at the code for WunderRadio but only the header files are in the released code.

I'm also not very familiar with objc or c, I've dabbled in both but wouldn't consider myself an expert, so any pointers/suggestions are welcome.

A: 

The SpeakHere example app, with source code on developer.apple.com, contains a nice example of using Audio Queues for playing and recording using audio buffers.

If you know how to convert data types, if necessary, and how to copy PCM samples from a stream to buffer arrays, then you should be good to go.

Objective C is a proper superset of C, so learning basic C idioms, such as its data types and how to use arrays of short ints, is always useful.

hotpaw2
Thanks, I will take a look at that, I've been reading a few C books to get up to date on it...
janko
A: 

Hi I need your help my friends, I've looked everywhere and I can´t find nothing, please, I have to make an audio stream with the mms protocol, I know that there are two libs for make it posible in an iphone app, libmms to make the connection and ffmpeg wich converts the audio stream format, but I can´t find nothing about the implementation of each one or an example, please help me friends and thanks a lot

Manuel A.
A: 

I have done the same think for radio streaming application. I am able to get wma file using libmms library. And using that with ffmpeg I can convert in in the mp3 format..

Tech Guru