GLBasic forum

Main forum => Bug Reports => Topic started by: Quasist on 2008-Mar-07

Title: Sound Volume Problems
Post by: Quasist on 2008-Mar-07
On Win32 Platform by doing
PLAYSOUND (I,0,volume)  //where volume is 0.0-1.0
sound cannot penetrate the volume of the music (no sound effect played)
On Gp2x all works/sounds fine

Is that something wrong from using Windows Vista ?
Title: Sound Volume Problems
Post by: Kitty Hello on 2008-Mar-07
music? That's MUSICVOLUME then... Is there a bug with GP2X music?
Title: Sound Volume Problems
Post by: Quasist on 2008-Mar-07
sound doesn't plays on Win32

on gp2x it seems i need to do manual MUSICVOLUME after each of PLAYMUSIC

I also noticed some strange random flickers on gp2x screen, and DRAWRECT sometimes behaves different that on win32  (not a sound bug)

Maybe my Hardware is cursed through playing NetHack too much :)
Title: Sound Volume Problems
Post by: Kitty Hello on 2008-Mar-08
upload a small example that doesn't play.
If you find a rect-bug, post it. You might be right.
Title: Sound Volume Problems
Post by: Quasist on 2008-Mar-08
rect are displayer incorrectly of gp2x where is the value of height is very small and moves towards negative value
Title: Sound Volume Problems
Post by: Moru on 2008-Mar-08
Can you make a small example so I can try it on our GP2X to make sure it's not something wrong with yours?
Title: Sound Volume Problems
Post by: Kitty Hello on 2008-Mar-09
I can't do anything w/o an example.
Title: Sound Volume Problems
Post by: Quasist on 2008-Mar-11
Here Some code sample that makes distortion on gp2x that is not to be seen on win32
//Sorry for keeping you waiting

Code (glbasic) Select
BLACKSCREEN
jetfuel=1
WHILE jetfuel>-0.5
DRAWRECT 38,208,93*jetfuel,5,RGB(255,255,0)
INC jetfuel,-0.01
SHOWSCREEN
WEND
Title: Sound Volume Problems
Post by: Quasist on 2008-Mar-12
I tried
do
PLAYSOUND (index,0,volume)
on Windows XP
(with mp3 music playing by PLAYMUSIC "filename.mp3")

the Volume paramerer is seems to have strange(non-linear) behavior on it's 0-1

Gp2x build has sound worked correctly ;/
Title: Sound Volume Problems
Post by: Kitty Hello on 2008-Mar-14
Is the drawrect problem solved? For me it seems so.