Re: [AD] Callback functionality for audiostreams

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I see where you're coming from, but my defense would be:
> * it's a clean patch, doesn't change any existing functionality and only
> adds a few lines of code - no bloat.

Sure, but from Allegro's viewpoint there is little interest in adding a 
callback to a non-blocking function that returns immediately.

> * lack of a callback is not really a defect in alogg/almp3, since 99% of
> the time one is not needed. The proposed change allows the programmer to
> easily alter all stream-based digital sound output from the game in one
> easy location. This would automatically work with all sound decoders that
> use audiostreams, rather than having to patch the functionality into each
> one.

Should that functionality not be implemented at a lower level instead?

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/