summaryrefslogtreecommitdiff
path: root/package/mplayer/patches/patch-libao2_ao_alsa_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/mplayer/patches/patch-libao2_ao_alsa_c
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/mplayer/patches/patch-libao2_ao_alsa_c')
-rw-r--r--package/mplayer/patches/patch-libao2_ao_alsa_c11
1 files changed, 11 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..7f6478baa
--- /dev/null
+++ b/package/mplayer/patches/patch-libao2_ao_alsa_c
@@ -0,0 +1,11 @@
+--- mplayer-1.0-29987.orig/libao2/ao_alsa.c 2009-12-10 21:54:25.000000000 +0100
++++ mplayer-1.0-29987/libao2/ao_alsa.c 2009-12-10 22:38:31.000000000 +0100
+@@ -772,8 +772,6 @@ static int play(void* data, int len, int
+ {
+ int num_frames;
+ snd_pcm_sframes_t res = 0;
+- if (!(flags & AOPLAY_FINAL_CHUNK) && len > ao_data.outburst)
+- 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);