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 21:52:03 +0100

Hi Andrei,
On Mon, Nov 29, 2010 at 09:11:27PM +0100, Andrei Kholodnyi wrote:
> > I think the way we already do this is reasonable. ?take a look at
> > config/espeak-generic.conf for example.
> 
> yes, it uses $PLAY_COMMAND coming from spd_audio_get_playcmd.
> this is the only dependency on audio subsystem generic module has
 
Yes

> probably we can remove this call and set  $PLAY_COMMAND inside an
> active audio plugin.
> then we have no dependency on audio subsystem in this module anymore.

When that active audioplugin can be used for playback directly by a
player (see my previous mail) it would be fine :-).

In other words:
spd_play could be a player which uses the spd_audio lib and respects the
audiooutputmethod setting of speechd.conf.
The generic plugin can use this for all kind of output (player_CMD).

BR.
halim




reply via email to

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