Sound Volume Problems

Previous topic - Next topic

Quasist

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 ?

Kitty Hello

music? That's MUSICVOLUME then... Is there a bug with GP2X music?

Quasist

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 :)

Kitty Hello

upload a small example that doesn't play.
If you find a rect-bug, post it. You might be right.

Quasist

rect are displayer incorrectly of gp2x where is the value of height is very small and moves towards negative value

Moru

Can you make a small example so I can try it on our GP2X to make sure it's not something wrong with yours?

Kitty Hello

I can't do anything w/o an example.

Quasist

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

Quasist

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 ;/

Kitty Hello

Is the drawrect problem solved? For me it seems so.