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: Hynek Hanke
Subject: [PATCH] added support for get_playcmd in libao
Date: Mon, 06 Sep 2010 10:38:29 +0200

On 4.9.2010 15:04, Bohdan R. Rau wrote:
> As for me: "play" command (in fact SoX) may be used in all backends but
> not pulse.
>    

Yes, this is right. Actually, it led me to think whether we
should not use
     play -t ao
and
     play -t oss
to respect our own configuration instead of the Sox
defaults to prevent possible problems with blocking
the device by outputting through other system than
we expected.

It's true that we can use play to output to ALSA too,
I however do not think that play will cover all the
possible audio backends in the future, so the solution
proposed by Bohdan seems very general and clean
to me.

We could extend it with another line for alsa, which
would contain "play -t alsa" and then test which one
works. It is important to consider whether the usefulnes
of this would outweight the added complexity. Otherwise,
it's simpler to just depend on aplay.

Best regards,
Hynek Hanke




reply via email to

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