nakayubi / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

Please ADD Volume to snd_PlayFile(FileName); #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a problem setting volume to a Stream.

Result := snd_PlayFile(FileName);
snd_SetVolume(zglPSound(Result), SND_STREAM, VolumeSFX);

When the Volume have small values, the stream play at higher volume for a small 
fraction of time and after the the volumes goes down.

It would be possible the set the stream volume on snd_PlayFile?

Original issue reported on code.google.com by wagenhei...@gmail.com on 24 Feb 2012 at 12:17

GoogleCodeExporter commented 9 years ago
Seems this is because of time which is needed for Windows to create the thread 
in some cases... ok, I will add this parameter.

Original comment by dr.andru@gmail.com on 24 Feb 2012 at 9:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1537.

Original comment by dr.andru@gmail.com on 24 Feb 2012 at 9:47