Re: Trouble setting sub device list, with a private aggregate device
Re: Trouble setting sub device list, with a private aggregate device
- Subject: Re: Trouble setting sub device list, with a private aggregate device
- From: Jeff Moore <email@hidden>
- Date: Wed, 12 Jul 2006 11:56:33 -0700
It's hard for me to debug something like this over email, so feel
free to file a bug about this. Be sure to include a compilable example.
On Jul 11, 2006, at 10:38 PM, Neil Clayton wrote:
I've put a breakpoint on the code that deletes it - and it's
certainly not being called. There's only a single process, and
that's not getting killed either.
So I created another project, with the smallest amount of code to
demonstrate the problem.
The output (when attempting to create a private aggregate) is:
2006-07-12 16:19:26.387 CreateAggregate[4284] Created aggreate with
ID 283 - dumping device list immediately
2006-07-12 16:19:26.389 CreateAggregate[4284] Device 3 is
<MTCoreAudioDevice: 0x31d6e0 id 283> Monitoring-Aggregate
Here, you can see the device being created. The call to dump the
device information is being made right at the end of the creation
method. - but the device 'disappears' after that method completes.
The timer is running, but no further information is shown. As a
note, I've commented out the conditional in the dumpDevices method
to dump everything, and there is no other unnamed or other
Aggregate Device present.
When I change the aggregate to be public I get the output:
2006-07-12 16:20:31.817 CreateAggregate[4303] Created aggreate with
ID 283 - dumping device list immediately
2006-07-12 16:20:31.818 CreateAggregate[4303] Device 3 is
<MTCoreAudioDevice: 0x307950 id 283> Monitoring-Aggregate
2006-07-12 16:20:32.343 CreateAggregate[4303] Device 3 is
<MTCoreAudioDevice: 0x36b1e0 id 283> Monitoring-Aggregate
2006-07-12 16:20:33.343 CreateAggregate[4303] Device 3 is
<MTCoreAudioDevice: 0x31ed80 id 283> Monitoring-Aggregate
2006-07-12 16:20:34.342 CreateAggregate[4303] Device 3 is
<MTCoreAudioDevice: 0x31ed80 id 283> Monitoring-Aggregate
e.g: you can see that the timer is running, and showing that the
device does exist.
So it seems that either I've setup the aggregate incorrectly or
found some bug. The later would seem a little odd as I would have
thought what I'm doing is not that unusual.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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