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: Trevor Saunders
Subject: [PATCH 1/7] move module_audio_init from each module to the module_util.c
Date: Sun, 28 Nov 2010 18:22:06 -0500

On Sun, Nov 28, 2010 at 10:50:48PM +0100, Andrei Kholodnyi wrote:
> > I like the idea of seperating audio and modules specific code. ?However
> > this presents a bit of a problem as to what to do with synths that have
> > to use there own audio system for example the generic module.
> 
> yes, you are right.
> generic module uses a command line tool of each audio subsystem to
> generate audio.

yes, maybe I should have been a little clearer.  Even though the generic
module doesn't use our audio system you still initialize an AudioID and
setup some audio system which you never use.  In addition this has the
effect of making it look to the world like you successfully changed some
audio parameters when in fact the changes you made have no effect
because the audio setup you changed the parameters of isn't use for
anything.

> Probably it needs to discover by itself what play command is available
> in the system?
> or have a config param: PlayCommand?

I think the way we already do this is reasonable.  take a look at
config/espeak-generic.conf for example.

Trev

> 
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101128/70dec859/attachment.pgp>


reply via email to

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