OSDN Git Service

pcm: hw: Keep control data from kernel when SND_PCM_APPEND
authorTimo Wischer <twischer@de.adit-jv.com>
Fri, 23 Mar 2018 14:27:23 +0000 (15:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Mar 2018 14:47:06 +0000 (15:47 +0100)
commitdc4325d8c1df9af6dce32e0e8140ed77fefcc72b
tree56ce8c54f1653793d465b70cd3e42b1220880f11
parent64b8927df3cec39f62d0081cbb1d7ce5f423e4e8
pcm: hw: Keep control data from kernel when SND_PCM_APPEND

Without this fix the application pointer would be reseted
whenever an application opens a device with SND_PCM_APPEND.

This would result in an Xrun if the device is already opened and
in running state and the appl_ptr is use.

Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_hw.c