• 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: Limiting available sample rates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limiting available sample rates


  • Subject: Re: Limiting available sample rates
  • From: Robert Bielik <email@hidden>
  • Date: Fri, 16 Sep 2011 16:24:59 +0200

Hello Vyacheslav,

Vyacheslav Matyushin skrev 2011-09-16 16:17:
I guess you add available formats using IOAudioStream::addAvailableFormat() inside the driver.
There is also method IOAudioStream::clearAvailableFormats().
I haven't tried this myself but perhaps using this two methods you can change supported formats dynamically.

So if I would first clearAvailableFormats then do addAvailableFormat with min & max samplerate set to same value, I'd be able to add f.i. 44100 and 96000 but nothing in between ? Ok, sounds like an approach to test! :)

Thank you,
/Rob
_______________________________________________
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


References: 
 >Limiting available sample rates (From: Robert Bielik <email@hidden>)
 >Re: Limiting available sample rates (From: Robert Bielik <email@hidden>)
 >Re: Limiting available sample rates (From: Vyacheslav Matyushin <email@hidden>)

  • Prev by Date: Re: Limiting available sample rates
  • Next by Date: Re: Core audio book
  • Previous by thread: Re: Limiting available sample rates
  • Next by thread: Send MIDI Sequence to GarageBand
  • Index(es):
    • Date
    • Thread