I am having issues with using volume control functions provided by
FusionSound.  In the program I have written, I tried to change the volume
level by using the following code...
.... Created FusionSound Device, Created music provider, created stream,
etc...
IFusionSoundPlayback *playback;
fgStream->GetPlayback(fgStream, &playback);
playback->SetVolume(playback, myVolumeLevel);

When I set 'myVolumeLevel' to anything other than 1.0, the audio file sounds
distorted.  I guess I have two questions.
1) Is this the proper way (or one of many correct ways) to control the
volume.
2) What could be causing the audio to sound distorted / clipped.  It seems
that any value other than 1.0 produces the exact same problem (there is no
real discernable difference between the audio when myVolumeLevel != 1.0

Below is my configuration script for my build of FusionSound

               --disable-ieee-floats \
               --enable-precision \
               --enable-linear-filter \
               --enable-dithering \
               --disable-examples \
               --enable-module \
               --disable-timidity \
               --disable-wave \
               --enable-vorbis \
               --disable-mad \
               --disable-cdda \
               --disable-playlist \

I am trying to only play vorbis files.

Thank you in advance,
Rich
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to