• 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
Changing built-in audio device sample rate breaks my code and example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing built-in audio device sample rate breaks my code and example


  • Subject: Changing built-in audio device sample rate breaks my code and example
  • From: Simon Liu <email@hidden>
  • Date: Tue, 19 Oct 2004 13:40:18 +0100

Hi,

I have code based on TN2091 running fine with built-in audio device.
However, if _before_ launching my code, I set the sample rate of the
device to something other than 44.1khz, things don't work.  My input
callback function gets invoked, but having called AURender, the
bufferlist returned to me contains no data and no channel information.
 I notice that the same thing happens to SimplePlayThru.

My code does not listen for sample rate changes during runtime when
the AUHAL is up and running. I know that ComplexPlayThru does this.
However, since in my case, I have already set the device sample rate
before launching the code, I shouldn't need a listener for sample rate
changes during runtime, and the code based on TN2091 should work, but
doesn't seem to.

Can anybody tell me whether it should work (it might be some other
error on my part), or whether there is something conceptually which I
have missed.

Thanks,
Simon
 _______________________________________________
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

  • Prev by Date: AU question: asynchroneous pulling
  • Next by Date: Re: AuBase::GetLatency()
  • Previous by thread: Re: AU question: asynchroneous pulling
  • Next by thread: non-standard IOAudioControl
  • Index(es):
    • Date
    • Thread