speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 1/7] move module_audio_init from each module to the module_util.c


From: Halim Sahin
Subject: [PATCH 1/7] move module_audio_init from each module to the module_util.c
Date: Mon, 29 Nov 2010 14:40:48 +0100

Hi,
On Mon, Nov 29, 2010 at 01:26:00PM +0000, Andrei.Kholodnyi at gmail.com wrote:
>    On Nov 28, 2010 11:18pm, Halim Sahin <halim.sahin at t-online.de> wrote:
>    > What about writing a small player which uses spd_audio of sd and runs
>    standalone?
>    > This player could also respect audio output settings of speechd etc.
>    > Comments?
>    yes, I have one :D
>    why do we need it? could you please describe a use case? why it is
>    better than an audio plugin?

The only use case is for the generic output driver.
Current approach has hardcoded players and the user can decide to change
it in xyz-generic.conf as well.

pulse = paplay  (ok)
alsa = aplay (ok)
libao = play (maybe working ).
oss = play (maybe working)

We have only walid players for alsa and pulse.
play command often uses sox which could be compiled with the allmost
available outputs.
If we have a standalone player which uses the speechd audio
infrastructure, the generic drivers can use the prefered audiooutput
method of speechd without deppending to other player configuration.
HTH.
Halim




reply via email to

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