diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-12 21:10:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-12 21:10:52 +0200 |
commit | 681a668edf704bbb000a49c835b3d71fa7035d86 (patch) | |
tree | 27df7d51e37260f63812466b31369c1a144cdc45 /package/mplayer/patches/patch-libao2_ao_alsa_c | |
parent | 2d1f73d4334593134d3a47704a2614ffcae384ae (diff) | |
parent | 6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mplayer/patches/patch-libao2_ao_alsa_c')
-rw-r--r-- | package/mplayer/patches/patch-libao2_ao_alsa_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mplayer/patches/patch-libao2_ao_alsa_c b/package/mplayer/patches/patch-libao2_ao_alsa_c new file mode 100644 index 000000000..26d0832dc --- /dev/null +++ b/package/mplayer/patches/patch-libao2_ao_alsa_c @@ -0,0 +1,14 @@ +--- mplayer-1.0-32749.orig/libao2/ao_alsa.c 2011-01-03 11:26:52.000000000 +0100 ++++ mplayer-1.0-32749/libao2/ao_alsa.c 2011-09-14 20:52:35.457990653 +0200 +@@ -760,8 +760,9 @@ static int play(void* data, int len, int + { + int num_frames; + snd_pcm_sframes_t res = 0; +- if (!(flags & AOPLAY_FINAL_CHUNK)) +- len = len / ao_data.outburst * ao_data.outburst; ++ // SIGFPE on Sharp Zaurus ARM CPU ++ //if (!(flags & AOPLAY_FINAL_CHUNK)) ++ // len = len / ao_data.outburst * ao_data.outburst; + num_frames = len / bytes_per_sample; + + //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len); |