[AD] al_create_voice frequency

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


The docs for al_create_voice say " However, the underlying sound driver is free to use non-matching values. For example it may be the native format of the sound hardware. "

Which function in the audio driver is allowed to do this? And is it as simple as

void driver_allocate_voice(ALLEGRO_VOICE * voice){
  voice->frequency = 44100; // driver only supports 44100
}

I don't see any existing drivers modifying the voice's frequency. It is highly unlikely that most of the drivers support arbitrary frequencies.


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