• 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: Getting Default Output Device gives a strange answer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Default Output Device gives a strange answer


  • Subject: Re: Getting Default Output Device gives a strange answer
  • From: Andrew Kimpton <email@hidden>
  • Date: Tue, 14 Nov 2006 16:18:08 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Getting Default Output Device gives a strange answer
      • From: Steve Checkoway <email@hidden>
    • Re: Getting Default Output Device gives a strange answer
      • From: Jeff Moore <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>)

  • Prev by Date: Re: ExtAudioFileRead sample format
  • Next by Date: Re: Getting Default Output Device gives a strange answer
  • Previous by thread: Re: Getting Default Output Device gives a strange answer
  • Next by thread: Re: Getting Default Output Device gives a strange answer
  • Index(es):
    • Date
    • Thread