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

Halim Sahin halim.sahin at t-online.de
Mon Nov 29 21:52:03 CET 2010


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




More information about the Speechd mailing list