How to deal audio format change in and IOAudioEngine sub class ?
How to deal audio format change in and IOAudioEngine sub class ?
- Subject: How to deal audio format change in and IOAudioEngine sub class ?
- From: Matthieu Collette <email@hidden>
- Date: Wed, 17 Feb 2016 16:26:01 +0100
Hi,
I have developed a virtual audio driver that works almost as expected.
This driver get samples and sends those samples over the network from the kernel.
I am facing an issue with audio format changes.
While playing, I use Audio MIDI Setup to change the bit depth and the audio player I use stops.
Logs shows that my audio engine is first stopped, then audio format is changed and finally my audio engine is started.
The issue is that the audio player is paused and refuses to resume ...
In order to stream again is to delete and create my virtual audio device.
It seems that I don't do something the way it should but I don't know what yet.
What should I do to get my audio engine properly resumed after an audio format change ?
Best regards.
Matthieu.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden