Re: [AD] wdsound.c patch

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


> Why not set the frequency as well ?

Because create_dsound_buffer already gets the current frequency

example:
ds_voices[voice].ds_loop_buffer =
create_dsound_buffer(ds_voices[voice].loop_len * (bidir ? 2 : 1
                                      ds_voices[voice].freq,
                                      ds_voices[voice].bits,
                                      ds_voices[voice].stereo);



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