Re: Multiple AU outputs in AULab
Re: Multiple AU outputs in AULab
- Subject: Re: Multiple AU outputs in AULab
- From: William Stewart <email@hidden>
- Date: Tue, 21 Apr 2009 19:34:42 -0700
the error is PropertyNotWritable - it is likely to be coming from your
audio unit - I think from trying to set the stream format... umm, does
your audio unit pass the auval test?
also, just for grins, make sure that you are always setting the de-
interleaved flag on the ASBD's mFormatFlags field even if you have mono
(sorry, if I sound like I'm grasping at straws, but, well, I'm...) :)
You could also file a bug and attach the audio unit if you can, so we
can have a look at this (or we can communicate off-list to debug this)
Bill
On Apr 21, 2009, at 4:48 PM, Stephen Blinkhorn wrote:
Hello,
I think I have a problem with multiple outputs in AULab. In essence
all I want to do is create a fixed number of outputs and allow the
user to set these outputs as mono or stereo. In AULab when I add my
instrument and then do 'show audio unit details' I get four outputs
and I can select either 1 or 2 channels for each output. If I
configure each output as stereo then all is fine. If I set output 1
as mono and the rest as stereo then all is fine too. Any other
configuration (eg 1 stereo/3 mono) results in this message:
"There was an error configuring the source for xxxxx: -10865"
and
"Error setting number of output channels (1): -10865" posted to the
console.
I am creating 4 output elements and I publish {{0, 2 },{0, 1}} as my
channel info via SupportedNumChannels() and I validate the number of
channels per output element at initialization (the problem happens
before I get here though). Logic8 lets me mix and match stereo/mono
outputs, auval seems OK and DigitalPerformer appears fine with
things so I'm not sure what is wrong. Anyone else seeing this
behaviour?
Maybe this is just a problem with AULab but naturally I'd rather it
all worked for convenience/testing at least.
Many thanks,
Stephen
_______________________________________________
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