View Single Post
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#45
I'm testing with: mplayer -ao alsa /home/user/MyDocs/.videos/Nokia_N810.avi

I did not use your .deb but tried the following patch (it should contain exactly your fix according to your description):
Code:
Index: libao2/ao_alsa.c
===================================================================
--- libao2/ao_alsa.c	(revision 303)
+++ libao2/ao_alsa.c	(working copy)
@@ -70,8 +70,8 @@

 #define ALSA_DEVICE_SIZE 256

-#undef BUFFERTIME
-#define SET_CHUNKSIZE
+#define BUFFERTIME
+#undef SET_CHUNKSIZE

 static void alsa_error_handler(const char *file, int line, const char *function,
 			       int err, const char *format, ...)
ALSA sound output works much better for sure when used to play audio only, but we need it to handle all the use cases properly.