Re: More Stereo Mixer component questions
Re: More Stereo Mixer component questions
- Subject: Re: More Stereo Mixer component questions
- From: Bill Stewart <email@hidden>
- Date: Mon, 14 Oct 2002 14:46:44 -0700
on 14/10/02 1:11 PM, Robert Grant wrote:
>
Hi Bill,
>
>
Are you saying that the V1 and V2 AUs can't be mixed in the same graph?
>
If yes then I'll drop the smxr because I don't want to use the V1 units
>
if they're not
>
compatible.
>
>
And yes the AUGraphOpen did return an error (that was the kablooie :-).
Yes - you can't mix the two types in the same graph
Bill
>
Thanks,
>
>
Robert.
>
>
On Monday, October 14, 2002, at 03:26 PM, Bill Stewart wrote:
>
>
> on 13/10/02 2:24 PM, Robert Grant wrote:
>
>
>
>> After a bit of a struggle I've got a stereo mixer sitting in my graph:
>
>>
>
>> AudioUnitGraph 0x9810000:
>
>> Member Nodes:
>
>> node 1: desc aumu dls , instance 0x810000 O I
>
>> node 2: desc mixr smxr, instance 0x810001 O I
>
>> node 3: desc auou def , instance 0x810002 O I
>
>> Connections:
>
>> node 1 bus 0 => node 2 bus 0
>
>> node 2 bus 0 => node 3 bus 0
>
>> Events to be updated:
>
>> CurrentState:
>
>> mLastUpdateError=0, eventsToProcess=F, isRunning=T
>
>
>
> What type is:
>
>> node 2: desc mixr smxr, instance 0x810001 O I
>
>
>
> This should be 'aunt'... (in fact, because there isn't a stereo mixer
>
> as a
>
> V2 unit in 10.2, all of the units in your graph should have an 'aunt'
>
> type -
>
> ie. V1 units), so I'm confused about what is really going on here.
>
>
>
>> Before I added it I was getting sounds coming out. Now there's
>
>> nothing.
>
>> I'm trying to
>
>> add pan control to my app but it's pretty useless without a sound to
>
>> pan. What have I
>
>> done wrong? (I haven't fiddled with the volume as I'm happy with the
>
>> default.)
>
>>
>
>> As an aside I was adding the default output component with the
>
>> manufacturer still set
>
>> to the stereomixer, the component was reporting that it loaded
>
>> successfully (returning
>
>> 0) but the graph open & init went kablooie. Shouldn't the load have
>
>> failed?
>
>
>
> Are you checking the result of AUGraphOpen? It should have given you an
>
> error... (if not, I'd love to see your code and fix that bug at least)
>
>
>
>> Perhaps I haven't loaded an 'smxr' at all?
>
>
>
> Until you open the graph you don't know if the node you have added is
>
> actually valid or not.. The graph has several states:
>
> (1) Just Nodal Information
>
> (2) Opened - each node opens its AudioUnit as described by the CompDesc
>
> (3) Initialized - the au's are initialized
>
> (4) Running - your output unit has been started
>
>
>
> Bill
>
>
>
>> Feeling very unsure about what I'm doing! :-)
>
>>
>
>> Robert.
>
>> _______________________________________________
>
>> coreaudio-api mailing list | email@hidden
>
>> Help/Unsubscribe/Archives:
>
>> http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
>> Do not post admin requests to the list. They will be ignored.
>
>
>
> --
>
> mailto:email@hidden
>
> tel: +1 408 974 4056
>
>
>
> _______________________________________________________________________
>
> ___
>
> "Much human ingenuity has gone into finding the ultimate Before.
>
> The current state of knowledge can be summarized thus:
>
> In the beginning, there was nothing, which exploded" - Terry Pratchett
>
> _______________________________________________________________________
>
> ___
>
> _______________________________________________
>
> coreaudio-api mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
> Do not post admin requests to the list. They will be ignored.
>
--
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.