• 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: Audio passthrough fails after suspend
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio passthrough fails after suspend


  • Subject: Re: Audio passthrough fails after suspend
  • From: Peter Mueller <email@hidden>
  • Date: Tue, 26 Oct 2004 21:58:54 +0200

Hi,

Am Dienstag, 26.10.04 um 21:04 Uhr schrieb Jeff Moore:

In general, sleep is transparent to applications. It just happens. From the HAL's perspective, it is, at worst, going to require a resynch with the hardware. (This normally shows up as one or more overload notifications from the HAL.)

Without more information, it's going to be hard to pinpoint what the trouble might be. I'd start debugging this by looking at what exactly is happenning at sleep and wake up. Try throwing some printf's around to log what your code is doing across the break. Pay particular attention to what notifications you are getting from the HAL and how you are reacting to them.

On Oct 26, 2004, at 10:15 AM, Peter Mueller wrote:

The behaivour can be checked with the HAL/AudioThru example provided by the audio sdk. Clicking on restart helps. Restart triggers stopping the play thru via AudioDeviceRemoveIOProc etc. And then starting playthru again by calling AudioDeviceAddIOProc.

Why is this necessary?

Interesting point: if another application plays someting (e.g. my ICQ client) playthru works also again.

Any idea?

Peter

---
Peter Mueller
email@hidden
 _______________________________________________
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: Audio passthrough fails after suspend
      • From: Jeff Moore <email@hidden>
References: 
 >Re: Audio passthrough fails after suspend (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: what does kAudioUnitParameterFlag_ExpertMode mean? (half-solved)
  • Next by Date: Re: what does kAudioUnitParameterFlag_ExpertMode mean? (solved)
  • Previous by thread: Re: Audio passthrough fails after suspend
  • Next by thread: Re: Audio passthrough fails after suspend
  • Index(es):
    • Date
    • Thread