[PATCH 1/7] move module_audio_init from each module to the module_util.c
trev.saunders at gmail.com
Mon Nov 29 23:31:52 CET 2010
On Mon, Nov 29, 2010 at 10:09:05PM +0100, Bohdan R. Rau wrote:
> On Mon, 29 Nov 2010 21:11:27 +0100, Andrei Kholodnyi
> <andrei.kholodnyi at gmail.com> wrote:
> > 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.
> I still can't understand - why it's not possible to return audio data from
> external command to generic module and play the wave using internal speechd
> audio output...
> Something like (simplified):
> GenericAudioOutput "pipe"
> GenericExecuteSynth "my_super_synthesis_software [some params] -o -"
I can think of a couple reasons.
1. the current way is more generic, what about synths that can't send
data back through a pipe etc.
2. its easier currently you just set the play command in a piece of
shell code that's executed with system(), if we where to do what you
propose we'd need a lot more code.
> http://milena.polip.com/ - Pa pa, Ivonko!
> Speechd mailing list
> Speechd at lists.freebsoft.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the Speechd