OSDN Git Service

Fix playback start with sync_ptr mode
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 May 2005 14:14:10 +0000 (14:14 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 May 2005 14:14:10 +0000 (14:14 +0000)
commit10557ca6b9420f393969b503e048f3d322d8eabe
tree617a8d185bb2dc7f4fc342fea9ab47b61de94c1d
parent3403d9e6229b111ef36025f59dfb91e4b5ab1f7c
Fix playback start with sync_ptr mode

Fix by Istvan Varadi <ivaradi@gmail.com>

- start the playback with snd_pcm_hw_start failed with -EPIPE, because
 some pointers were not updated. I attached a patch for alsa-lib 1.0.8,
 in which sync_ptr is called before SNDRV_PCM_IOCTL_START. It seems to
 solve the problem, though I don't know alsa-lib enough to be sure that
 this is the right solution...
src/pcm/pcm_hw.c