Re: [AD] SF.net SVN: alleg:[12523] allegro/branches/4.9

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


On Thu, 2009-08-27 at 21:01 +1000, Peter Wang wrote:
> On 2009-08-27, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> 
> That's the standard terminology, though, and I don't like the ALLEGRO_AUDIO
> suggestion.  In the documentation we can say "sample values" when talking
> about the units.

Well, it still is unfortunate naming. We could name it ALLEGRO_SOUND
(like e.g. Flash and XNA do). ALLEGRO_SAMPLE[_INSTANCE] is fine of
course, but since we can rename it... :)

> 
> Actually, this seems okay to me:
> 
>     ALLEGRO_AUDIO_STREAM
...
>     al_*_audio_stream_*
...
> which follows in the footsteps of Allegro 4.  You might remove the
> underscore between AUDIO_STREAM, though I don't have any justification.
> 
> Then we could use a _stream suffix, e.g.
> 
>     al_load_png_stream(ALLEGRO_FILE *stream, ...);
> 

Sounds good to me.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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