setting volume in ofSoundPlayer

Hi,

One short thing about the ofSoundPlayer::setVolume() function. Calling the function when the sound is not playing has no effect as it is now. One solution is to move the setting of the volume variable outside the if-statement:

  
  
void ofSoundPlayer::setVolume(float vol){  
	if (getIsPlaying() == true){  
		FSOUND_SetVolume(channel, (int)(vol*255.0f));  
	}  
	volume = vol;  
}  
  

This worked well for my purposes since the FSOUND_SetVolume is called again once the ofSound::play() function is called. Does it conflict with anything?

/cj