Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Default Output Device gives a strange answer



Quoting Jeff Moore <email@hidden>:

In order for a device to be allowed to be the default device, it has to
meet the following criteria:
1) It has to allow itself to be the default device.
2) It can't be hogged.
3) It has to have at least one mixable linear PCM stream in the given
direction whose terminal type is general purpose (includes streams that
don't provide a terminal type).

Chances are that your experiments with AC-3 have left the device in a
state such that it can't satisfy the third criterium. Rebooting won't
help, as the HAL will be happy to restore the device's format to AC-3
(I had a bug to keep this from happening that may be fixed in Tiger,
though). The thing to do to fix this state is to open AMS and manually
select a linear PCM format.

OK - I'll give that a try when I get home (at work - no where near the problem machine - right now).


In order to avoid this sort of thing should I make sure to install some sort of 'atexit' handler to release hog mode before the app quits ? That won't protect against crashes but would at least protect against impatient 'ctrl-c' usage.

Thanks

Andrew 8-)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Getting Default Output Device gives a strange answer (From: Andrew Kimpton <email@hidden>)
 >Re: Getting Default Output Device gives a strange answer (From: Jeff Moore <email@hidden>)
 >Re: Getting Default Output Device gives a strange answer (From: Andrew Kimpton <email@hidden>)
 >Re: Getting Default Output Device gives a strange answer (From: Jeff Moore <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.