* sound.c (wav_play): Check header->data_length to see how much we
commita28de2572ea46ee103b73095be06538272903872
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 6 Mar 2007 12:15:33 +0000 (6 12:15 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 6 Mar 2007 12:15:33 +0000 (6 12:15 +0000)
tree38557b52c6b0f495bb5ce8f2f331bf0f0606ae3d
parent0868f2129382fd2535c41255c12305a7c0ab5151
* sound.c (wav_play): Check header->data_length to see how much we
shall read.
(alsa_period_size): Convert ALSA period size in frames to bytes.
(alsa_write): Return if frames is zero.
src/ChangeLog
src/sound.c