diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/mpd/patches/patch-src_output_alsa_plugin_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mpd/patches/patch-src_output_alsa_plugin_c b/package/mpd/patches/patch-src_output_alsa_plugin_c new file mode 100644 index 000000000..8e0e6bb80 --- /dev/null +++ b/package/mpd/patches/patch-src_output_alsa_plugin_c @@ -0,0 +1,14 @@ +--- mpd-0.16.2.orig/src/output/alsa_plugin.c 2011-03-19 01:41:53.000000000 +0100 ++++ mpd-0.16.2/src/output/alsa_plugin.c 2011-05-14 13:44:14.000000000 +0200 +@@ -646,8 +646,9 @@ alsa_play(void *data, const void *chunk, + while (true) { + snd_pcm_sframes_t ret = ad->writei(ad->pcm, chunk, size); + if (ret > 0) { +- ad->period_position = (ad->period_position + ret) +- % ad->period_frames; ++ // SIGFPE! ++ //ad->period_position = (ad->period_position + ret) ++ // % ad->period_frames; + return ret * ad->frame_size; + } + |