Re: Audio passthrough fails after suspend
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 v
ia 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