[Gambas-devel] Audio path
Benoit Minisini
gambas at ...1...
Tue Feb 21 12:37:18 CET 2006
On Monday 20 February 2006 18:24, Christopher Brian Jack wrote:
> If I wanted to make a gb.audio.effects library for doing postmixing
> effects like reverb, echo and other such nifties and what is the best way
> to approach the task as in where to hook in, etc.?
>
> Ideally it should be possible for the effects drivers to modify the sound
> stream(s) or music stream(s) independently (one or the other, both, or
> none).
>
> Ideally I'd like to implement as a separate component selectable into a
> project, rather than hack into the gb.sdl.audio code directly.
>
> Also how would I indicate to the system the gb.xxx.audio dependency (I use
> xxx because there may come a time where more than one audio component
> becomes available in the future, say hypathetically,
> gb.directsound.audio).
>
> Ideally base audio component independance should also be possible.
>
The sdl library allows to define hook functions to process samples before they
are sent to the sound card. But then your effects depends on the gb.sdl.sound
library.
But I think a better idea should be to look at GStreamer, to see how it works,
and how it is possible to make a sound component from it.
What do you think about that ?
--
Benoit Minisini
More information about the Devel
mailing list