On Mon, Mar 04, 2013 at 09:53:54AM +0100, Takashi Iwai wrote:
At Sun, 3 Mar 2013 20:29:22 +0100, Torstein Hegge wrote:
While this does fix the sample rate change problem, it introduces a new problem. With at least one media player application (xbmc) this patch causes the usb sound card to not output sound when starting a video file. Skipping forward or backward in the video stream restores audio output.
I haven't yet been able to look into why this happens, or why xbmc behaves different from mplayer and vlc.
If the reset of interface is needed only when *changing* SRC, we can check the current rate against the previous rate and skip the reset?
That's right. I tried that, and it appears to have solved the issue with xbmc. I'll clean up that code and send an updated patch.
Thanks.
Torstein