Re: [AD] Renaming of functions in kcm_audio addon |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Renaming of functions in kcm_audio addon
- From: "Milan Mimica" <milan.mimica@xxxxxxxxxx>
- Date: Wed, 26 Nov 2008 17:59:41 +0200
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