• 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
automatic sample rate and size conversion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automatic sample rate and size conversion?


  • Subject: automatic sample rate and size conversion?
  • From: Joe Chang (ììí) <email@hidden>
  • Date: Fri, 18 Jan 2002 14:17:14 +0900

I have a USB audio interface which has 2 channel digital (optical) output.

When I plug it, HAL device information says its stream supports 44.1 and 48kHz and 24bit LPCM, and this is correct.

The question is:

Suppose the current stream format is set to 48kHz, 24bits.
I'm wondering what happens if I use NSSound to play a 44.1kHz, 16bit sound file through this device.
This device will produce 44.1kHz, 16bit samples or 48kHz, 24bit samples?
If it's converted to the current device setting, is this done automatically by NSSound or HAL?

TIA,
Joe


  • Follow-Ups:
    • Re: automatic sample rate and size conversion?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Setting Formats...
  • Next by Date: Re: HAL Devices and Streams (with QuickTime)
  • Previous by thread: Re: Setting Formats...
  • Next by thread: Re: automatic sample rate and size conversion?
  • Index(es):
    • Date
    • Thread