[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: |
Mon, 29 Nov 2010 17:31:52 -0500 |
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.
Trev
>
> ethanak
> --
> http://milena.polip.com/ - Pa pa, Ivonko!
>
> _______________________________________________
> 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/20101129/6be3d837/attachment.pgp>
- [PATCH 7/7] use module_tts_output instead of spd_audio_play in sound icons., (continued)
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Trevor Saunders, 2010/11/28
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Trevor Saunders, 2010/11/28
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Andrei Kholodnyi, 2010/11/29
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Halim Sahin, 2010/11/29
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Bohdan R . Rau, 2010/11/29
- [PATCH 1/7] move module_audio_init from each module to the module_util.c,
Trevor Saunders <=
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Bohdan R . Rau, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Andrei Kholodnyi, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Bohdan R . Rau, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Halim Sahin, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Andrei . Kholodnyi, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Bohdan R . Rau, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Halim Sahin, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Bohdan R . Rau, 2010/11/30
- [PATCH 1/7] move module_audio_init from each module to the module_util.c, Andrei Kholodnyi, 2010/11/30