Re: RemoteIO AU callback interval can not be changed?
Re: RemoteIO AU callback interval can not be changed?
- Subject: Re: RemoteIO AU callback interval can not be changed?
- From: Gregory Wieber <email@hidden>
- Date: Mon, 16 Aug 2010 12:50:15 -0700
Could I use the AudioInputQueue concurrently with an AUGraph?
My goal is to count time / send obj-c messages at an interval of 16 ticks per 'beat', at a sample rate of 44100. So, at 60 beats per minute, that would mean 1 beat = 1 second, and one 'tick' of my clock = 1 second divided by 16.
At the moment I'm putting my counting code into the render callback of a multichannel mixer ( a hack, I realize). I'm going to look into AudioInputQueue like you suggest.
Thanks
On Mon, Aug 16, 2010 at 12:39 PM, William Stewart
<email@hidden> wrote:
So, this is not the way to do this.
If you need a particular I/O cycle size, then you MUST use the AudioSession property.
MaxFrames has no affect.
If you are wanting to get buffers of a particular duration and have no need to do low-latency I/O processing, then I would use an AudioInputQueue and create buffers of the duration that you would like to operate at.
Perhaps a short description of the basic parameters of your objectives would help...
Bill
On Aug 11, 2010, at 10:14 AM, Gregory Wieber wrote:
> I have a similar question related to counting samples (for a metronome) that was addressed here a while
ago.it was suggested that a metronome could be implemented by counting samples using the time stamp in a render callback. However, the render callback deals with chunks of frames (let's say 512). So, this doesn't seem like the right approach. If I'm dealing with a sample rate of 44100, where should I be sticking my sample counting code?
>
> _______________________________________________
> 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
_______________________________________________
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