Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
snd_play - balance not working #228916
09/23/08 13:56
09/23/08 13:56
Joined: Sep 2008
Posts: 6
W
Wiegje Offline OP
Newbie
Wiegje  Offline OP
Newbie
W

Joined: Sep 2008
Posts: 6
Hi,

When I start snd_play() I can't set the balance. It always plays in stereo. What gives?

snd_play(sndFile, 100, -100);

this makes it play in stereo as well as any other setting. Help? smile

Thanks.

Re: snd_play - balance not working [Re: Wiegje] #228932
09/23/08 15:59
09/23/08 15:59
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Use mono sounds only. Stereo sounds are not supported by snd_play, only by media_play.

http://manual.conitec.net/afil-sound.htm

If you have generally problems with sounds on your PC, check your sound card settings. Some sound drivers require sound hardware acceleration to be switched off, otherwise balance doesn't work.

Re: snd_play - balance not working [Re: jcl] #229002
09/23/08 21:07
09/23/08 21:07
Joined: Sep 2008
Posts: 6
W
Wiegje Offline OP
Newbie
Wiegje  Offline OP
Newbie
W

Joined: Sep 2008
Posts: 6
I was using mono sounds. I thought that didn't work because they were mono. So I played stereo sounds. Doesn't work either. I tried several sound files, all of different quality.

Re: snd_play - balance not working [Re: Wiegje] #229009
09/23/08 21:49
09/23/08 21:49
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
I had a similar issue, the only way to get it to work is by turning hardware acceleration for sound to off...


- aka Manslayer101
Re: snd_play - balance not working [Re: mpdeveloper_B] #229050
09/24/08 08:18
09/24/08 08:18
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Quite a few of us have been asking for the sound engine to be upated for ages..

No answer as to when just that they will sometime in the future..


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: snd_play - balance not working [Re: Nidhogg] #229051
09/24/08 08:25
09/24/08 08:25
Joined: Sep 2008
Posts: 6
W
Wiegje Offline OP
Newbie
Wiegje  Offline OP
Newbie
W

Joined: Sep 2008
Posts: 6
Is there a way to turn off hardware acceleration for the engine? According to some forums at Creative, Vista turns off sound acceleration by default. So that's not it then.

Any other solutions? I would really like some form of "3D sound" in my game.

Thanks in advance! smile

Re: snd_play - balance not working [Re: Wiegje] #229053
09/24/08 08:47
09/24/08 08:47
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
No, the engine has no influence on the hardware acceleration setting or the way sounds are played. DirectX is used for playing sounds.

Re: snd_play - balance not working [Re: jcl] #229112
09/24/08 16:20
09/24/08 16:20
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
I pretty sure though that through using a plugin you could turn hardware acceleration off on startup...


- aka Manslayer101
Re: snd_play - balance not working [Re: mpdeveloper_B] #229185
09/25/08 09:16
09/25/08 09:16
Joined: Sep 2008
Posts: 6
W
Wiegje Offline OP
Newbie
Wiegje  Offline OP
Newbie
W

Joined: Sep 2008
Posts: 6
I fixed the 3D sound issue with ent_playsound(), this does seem to work with any sound really.

Thanks for nothing, Conitec! smile


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1