Re: [AD] Audio addon API / Re: Renaming of functions in kcm_audio addon

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


On November 26, 2008, Evert Glebbeek wrote:
> On 26 Nov 2008, at 21:31, Thomas Fjellstrom wrote:
> > Maybe it would be better to have a higher level simple sound player
> > api that
> > wraps around kcm instead?
>
> I think that would more-or-less come down to the same idea that I
> propsed

True, but it depends were you want to place the "clever" code to make the api 
easier.

> , with two (possible) drawbacks: one is that (among others)
> the name al_play_sample() is already taken, but it is the most
> logical name. The other is that my proposal suggests default
> behavior, meaning that a user can start with the "simple" subset of
> the API and transparently move on to the "advanced" API if and when
> he/she wants to. I'd certainly prefer something like that over a
> "dual API" approach.
> In a way that's what A4 has and I don't think this does it much good.
>
> Evert
>
> -------------------------------------------------------------------------
> 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




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