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: Andrei . Kholodnyi
Subject: [PATCH] added support for get_playcmd in libao
Date: Sat, 04 Sep 2010 18:59:24 +0000

On Sep 4, 2010 3:04pm, "Bohdan R. Rau" <ethanak at polip.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).

It can be done.
However I have a question concerning generic module.
Why do we use command line commands like aplay?
is it not better to read file generated by synth in the generic module and  
then send it to the audio plugin for play?

> c) what with Jack backend?
never used it, do you know the command line tool for it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20100904/372c8d87/attachment.htm>


reply via email to

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