Re: [AD] Renaming of functions in kcm_audio addon

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


2008/11/26 Evert Glebbeek <eglebbk@xxxxxxxxxx>:
>
> To borrow an example from the kcm_audio plugin:
> al_get_stream_long -> al_stream_long to me seems a bit weird. It's
> not obvious to me at first glance what al_stream_long() would do, as

That should change too.
al_get_<kcm_object>_<type>(<param>...) should change to
al_get_<kcm_object>_<param>(...)
so it's al_get_stream_speed(), al_get_sample_position() etc. It's a
little more work than just renaming.

Oh and we need _get because there is _set too.

-- 
Milan Mimica
http://sparklet.sf.net




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