Re: [AD] proposed changes to sound API |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-12-16, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> On Tue, Dec 16, 2008 at 6:01 PM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> >
> > I like it.
> >
> You like the proposed changes or the current A5 methods?
>
The proposed changes.
> >> * Rename ALLEGRO_SAMPLE_DATA to ALLEGRO_SAMPLE
> >>
> >
> > al_stop_sample() -> al_stop_sample_instances()
> >
> Did you mean for that to be plural?
I meant this one:
bool al_stop_sample(ALLEGRO_SAMPLE *sample)
Stops all instances of the sample.
But, yes, I see that al_stop_sample_instances() would be very close to
al_stop_sample_instance().
> al_stop_all_simple_samples() -> al_stop_samples() [ or
> al_stop_all_samples() ? ]
> al_stop_sample() -> al_stop_sample_instance()
Either of al_stop_samples() or al_stop_all_samples() seem fine to me.
Peter