It is currently Sat Jan 23, 2021 2:19 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: IsPack(), SoundVolume scaling, sound channels
PostPosted: Sat Jan 25, 2020 4:16 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Aug 28, 2019 1:01 pm
Posts: 112
Hi,

Here are a few things that I'd love to see fixed or added in PB:

1. It would be cool if there was an IsPack() function.

2. SoundVolume() function seems to have an uneven scaling on Windows (I think on other platforms, too, but I'm not sure).
I.e., fading out a sound is very abrupt toward the end (volume 1=-4000).
This forces me to set volume directly with IDirectSoundBuffer, but I have no idea how to do it for other OS's, so I would really appreciate if SoundVolume could be updated to have better scailing.

3. It would be cool if there was a way to get the number of channels of a specific sound.
What I need it for is checking whether the sound has any channels, and freeing it if it doesn't.

3.1. Doo channels need freeing?
If they do, could we get the optional channel parameter in FreeSound to do it?

Thanks.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye