Re: simplest way to send buffers to hardware on a mac?
Re: simplest way to send buffers to hardware on a mac?
- Subject: Re: simplest way to send buffers to hardware on a mac?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 24 Mar 2012 17:15:22 -0700
On Mar 24, 2012, at 3:48 PM, Morgan Packard <email@hidden> wrote:
> Hello all,
> In iOS, I use the RemoteIO audio unit. Does this exist on the mac? If not, what's the easiest way to pipe audio to the speakers on a mac?
Depends on what specifically you want to do. Do you already have the samples in buffers? If so, is that because you assumed you needed to do that in order to play sound?
NSSound will take care of the entire process of loading and playing an audio file.
AVFoundation operates at a similar conceptual level but gives you richer control if you want it.
If you have audio in buffers because the nature of your app requires that, Audio Queue Services is the easiest way to put those buffers out to the hardware. AudioFile will help you get the data from a file into buffers in the first place.
If you want to perform effects, Audio Units are the way to go. Audio Graphs make working with Audio Units easier and more powerful.
--Kyle Sluder
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden