speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] added support for get_playcmd in libao


From: Bohdan R . Rau
Subject: [PATCH] added support for get_playcmd in libao
Date: Sat, 04 Sep 2010 15:04:41 +0200

On Sat,  4 Sep 2010 13:11:54 +0200, Andrei Kholodnyi
<andrei.kholodnyi at gmail.com> wrote:
> +static char const * libao_play_cmd[] = {
> +    "alsa", "aplay",
> +    "oss", "play",
> +    "pulse", "paplay"
> +};

As for me: "play" command (in fact SoX) may be used in all backends but
not pulse. 

I think the function should:
a) check the pulse backend - if yes, return "paplay"
b) check availability of aplay and play command, and return proper name (I
can imagine system with alsa installed and no aplay command).
c) what with Jack backend?

ethanak
-- 
http://milena.polip.com/ - Pa pa, Ivonko!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]