Re: Beep ( frequency, duration)
Re: Beep ( frequency, duration)
- Subject: Re: Beep ( frequency, duration)
- From: Jens Alfke <email@hidden>
- Date: Tue, 30 Dec 2014 18:06:42 -0800
> On Dec 29, 2014, at 2:12 PM, Michael Crawford <email@hidden> wrote:
>
> My input does come from another thread, reading ogg vorbis, flac, wave
> or mp3 files that write into a circular buffer.
If you're doing this for your own entertainment or education, going the low-level route like this is fine.
But for any serious use, I would go with AVFoundation if you want to play audio files. There is just so much mess and pain involved in rolling your own audio player. (I speak as someone who's done that. And never got it 100% crash-free before AVFoundation came along and allowed me to joyously delete all that code.)
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden