eiz / SynchronousAudioRouter

Low latency application audio routing for Windows
http://sar.audio/
GNU General Public License v3.0
1.02k stars 136 forks source link

Changes to supported sample rate not picked up by system audio engine #2

Closed eiz closed 8 years ago

eiz commented 8 years ago

If you change the requested audio sample rate in the ASIO configuration, it appears Windows still believes the old sample rate is supported and doesn't fully re-initialize, resulting in unsupported audio format errors on playback. Reboot seems to solve it. Audiosrv might be caching some information here?

eiz commented 8 years ago

To investigate: KSEVENT_PINCAPS_FORMATCHANGE

eiz commented 8 years ago

I'm reopening this because the latest Windows 10 seems to have some issues invalidating its format cache. May need to generate new device IDs that encode the sample rate/channel count to avoid the problem.

eiz commented 8 years ago

Similar problem on win10 with channel count changes in Virtual Audio Cable: http://www.freelists.org/post/wdmaudiodev/Multichannel-test-playback-in-Win10