Re: [AD] Audio plugin function names |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sunday 05 October 2008, Milan Mimica wrote:
> Evert Glebbeek wrote:
> > Right now in the audio plugin, functions are named
> > al_sample_play, al_sample_stop, al_voice_destroy,
> > al_sample_data_destroy etc.
> > Shouldn't those be called al_play_sample, al_stop_sample,
> > al_destroy_voice, al_destroy_sample_data etc. to be consistent with
> > the rest of the API?
>
> I just want to point out that the audio plugin is older than A5 itself, and
> the API was defined before A5 had a naming scheme. And yes, I do think the
> audio API should follow the rest of A5 API.
>
> Another thing: Why do we need FLAC library? libsndfile seems to support
> FLAC file format.
>
libsndfile sucks donkey balls. Its just barely got a hidden api to support
streaming stuff through a custom io layer (like fshooks), but its not
documented, so either I (or someone) writes the code to hook the two together
or we switch to libaudiofile which has a seemingly nicer virtio interface.
>
> --
> Milan Mimica
> http://sparklet.sf.net
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx