Re: [AD] proposed changes to sound API

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


On Tue, Dec 16, 2008 at 4:39 PM, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> Before I submit any smaller patches, I'd like to propose some bigger
> changes to the sound API.
>
> http://wiki.allegro.cc/NewAPI/Sound/Proposed
>

<http://www.allegro.cc/files/addons.zip> is the *full source* to the
updated kcm and acodec addons. The wiki documents most of the changes:

ALLEGRO_SAMPLE_DATA -> ALLEGRO_SAMPLE
ALLEGRO_SAMPLE -> ALLEGRO_SAMPLE_INSTANCE
al_setup_simple_audio() -> al_reserve_samples()
acodec has native support for loading/streaming wav files
acodec has native support for saving wav files

If there are no major objections, I can commit the changes. There are
still some minor things I'd like to address, but they can wait until
after these changes are applied.

--
Matthew Leverton




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