• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Trouble setting sub device list, with a private aggregate device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble setting sub device list, with a private aggregate device


  • Subject: Re: Trouble setting sub device list, with a private aggregate device
  • From: Neil Clayton <email@hidden>
  • Date: Wed, 12 Jul 2006 09:32:03 +1200

OK, that seems to make sense. Thanks.

I added some code directly after the creation to enumerate all the devices. Sure enough, when I do the same thing before the method that's failing, the device isn't there. It's as though upon returning to the app's main run loop, it's disappeared.

When created automatically, what causes an aggregate to be removed? Is there some property I have to set in order for it to become persistent (for longer)?

Neil

On 12/07/2006, at 6:20 AM, Jeff Moore wrote:

HAL error codes are easier to read if you look at them as 4CCs. In this case, 560947818 == '!obj' == kAudioHardwareBadObjectError. This error is only ever returned when the AudioObjectID you pass to an API call is invalid.

On Jul 10, 2006, at 10:17 PM, Neil Clayton wrote:

As I understand it (from reading previous posts) all I need to do in order to make an aggregate device private, is the following:

NSMutableDictionary *newDictionary = [NSMutableDictionary new];
[newDictionary setObject:@"iShowUMonitoring-Aggregate" forKey:@"uid"];
[newDictionary setObject:@"iShowUMonitoring-Aggregate" forKey:@"name"];
[newDictionary setObject:[NSNumber numberWithInt:1] forKey:@"private"];




_______________________________________________
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


  • Follow-Ups:
    • Re: Trouble setting sub device list, with a private aggregate device
      • From: Jeff Moore <email@hidden>
References: 
 >Trouble setting sub device list, with a private aggregate device (From: Neil Clayton <email@hidden>)
 >Re: Trouble setting sub device list, with a private aggregate device (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: DRM and Apple Loops
  • Next by Date: Re: Trouble setting sub device list, with a private aggregate device
  • Previous by thread: Re: Trouble setting sub device list, with a private aggregate device
  • Next by thread: Re: Trouble setting sub device list, with a private aggregate device
  • Index(es):
    • Date
    • Thread