Re: [AD] proposed changes to sound API

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


On 2008-12-19, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> 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.

No major objections.  The formatting is a bit screwy in places.

I suggest renaming kcm_sample.c to kcm_instance.c as a separate change
before committing your change.  When you add a file remember to set the
svn:eol-style property to 'native', as your files are in DOS format.

Peter





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