• 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: Native Device Formats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native Device Formats


  • Subject: Re: Native Device Formats
  • From: "Mikael Hakman" <email@hidden>
  • Date: Mon, 16 Jun 2008 21:54:07 +0200
  • Organization: Datakonsulten AB

On Monday, June 16, 2008 9:06 PM, Jeff Moore wrote:

Note that the HAL won't show a process the non-mixable linear PCM formats (which would include any integer formats) in the format list until your process owns hog mode for the given device.

Hog mode requirement is understandable. The way for a process to acquire this hog mode, before starting IOProc, is to use AudioDeviceSetProperty (AudioObjectSetPropertyData) with kAudioDevicePropertyHogMode and process own pid, right?


This is generally why drivers need to know the difference between AC-3 data packed into 16 bit stereo samples and real 16 bit stereo samples.

Exactly!

That said, not all SPDIF devices I've run into over the years do the right thing in this regard. Many will send AC-3 without also setting the data bit in the SPDIF payload. I always test new hardware with the volume down at first =)

Very wise - I did this mistake once and got static from un-decoded AC-3 at 130 dB - I will never do this again - starting Jumbo jet engines at full throttle from 1 m distance - danger of permanent damage of your psychical and physical health!


_______________________________________________
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: Native Device Formats
      • From: Jeff Moore <email@hidden>
References: 
 >Native Device Formats (From: email@hidden)
 >Re: Native Device Formats (From: Jeff Moore <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: Jeff Moore <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: Brian Willoughby <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: William Stewart <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: Native Device Formats
  • Next by Date: Re: Native Device Formats
  • Previous by thread: Re: Native Device Formats
  • Next by thread: Re: Native Device Formats
  • Index(es):
    • Date
    • Thread