• 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
Beginner: How to set the sampling rate of a USB audio input device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beginner: How to set the sampling rate of a USB audio input device


  • Subject: Beginner: How to set the sampling rate of a USB audio input device
  • From: "Hiroshi T." <email@hidden>
  • Date: Fri, 26 May 2006 16:50:32 +0900

Hello, I'm new to audio programming in OS X.
I have a USB audio device that is connected to S/PDIF output of digital radio tuner.
The sampling rates of the tuner output are 48 and 32 KHz according to the tuned channel.
When I change the channel from 48 to 32 KHz and vice versa, the audio device does not send
a correct sound stream and I have to reset the sampling rate using the system application
"Audio Midi Setup".


I run a timer recording script that controls the tuner. I want to set the sampling rate of the
USB device from this script. I once tried Applescript solution to control the "Audio Midi Setup"
but could not change the sampling rate of the device. I'm afraid I have to learn about APIs to
accomplish this.


Are there any sample code to set the sampling rate of a USB audio input device?
Could anyone tell me where to start?


Thank you in advance.

_______________________________________________
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: Beginner: How to set the sampling rate of a USB audio input device
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: output timestamp
  • Next by Date: Re: Getting started with AU developmentl
  • Previous by thread: Re: output timestamp
  • Next by thread: Re: Beginner: How to set the sampling rate of a USB audio input device
  • Index(es):
    • Date
    • Thread