[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] generic-modules fix playcommand when using libao
From: |
Halim Sahin |
Subject: |
[PATCH] generic-modules fix playcommand when using libao |
Date: |
Sat, 4 Sep 2010 08:32:51 +0200 |
Patch adds play command for libao
In generic.c the patch adds play as prefered command for libao and the
generic modules
diff --git a/src/modules/generic.c b/src/modules/generic.c
index 61a0caa..3b6ec9f 100644
--- a/src/modules/generic.c
+++ b/src/modules/generic.c
@@ -399,6 +399,8 @@ _generic_speak(void* nothing)
play_command = strdup("play");
}else if (!strncmp(audio_settings.audio_output_method, "alsa",
amlen)){
play_command = strdup("aplay");
+ }else if (!strncmp(audio_settings.audio_output_method, "libao",
amlen)){
+ play_command = strdup("play");
}else if (!strncmp(audio_settings.audio_output_method, "pulse",
amlen)){
play_command = strdup("paplay");
}else{
--
Halim Sahin
E-Mail:
halim.sahin (at) t-online.de
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] generic-modules fix playcommand when using libao,
Halim Sahin <=