robovm / robovm-samples

RoboVM sample projects
Apache License 2.0
92 stars 72 forks source link

[AQTapDemo] fix status error -50 when starting the audio queue #42

Open BlueRiverInteractive opened 9 years ago

BlueRiverInteractive commented 9 years ago

It seems that without calling enqueueBuffer this error doesn't happen but it is necessary to make the audio queue playback the streamed audio.

BlueRiverInteractive commented 9 years ago

We should be able to modify this sample to use MTAudioProcessingTap and AVFoundation streaming things. Event though AudioQueueProcessingTap hasn't been deprecated, it seems MTAudioProcessingTap + AVFoundation is now the preferred way to do these kind of things.