1
0

patch-libao2_ao_alsa_c 610 B

1234567891011121314
  1. --- MPlayer-1.1.1.orig/libao2/ao_alsa.c 2012-04-10 15:17:49.000000000 +0200
  2. +++ MPlayer-1.1.1/libao2/ao_alsa.c 2013-11-14 13:20:30.000000000 +0100
  3. @@ -756,8 +756,9 @@ static int play(void* data, int len, int
  4. {
  5. int num_frames;
  6. snd_pcm_sframes_t res = 0;
  7. - if (!(flags & AOPLAY_FINAL_CHUNK))
  8. - len = len / ao_data.outburst * ao_data.outburst;
  9. + // SIGFPE on Sharp Zaurus ARM CPU
  10. + //if (!(flags & AOPLAY_FINAL_CHUNK))
  11. + // len = len / ao_data.outburst * ao_data.outburst;
  12. num_frames = len / bytes_per_sample;
  13. //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len);