Noise sound

BlitzMax Forums/BlitzMax Beginners Area/Noise sound

ziggy(Posted 2005) [#1]
I get a very bad-quality sound when loading the background music to my game. Does anybody know how to solve this?
This is the music loading routine I'm using:


		SonidoFondo = LoadSound("incbin::fondo1.ogg",True)
		If CanalFondo = 0
			CanalFondo = AllocChannel()
		Else
			StopChannel(CanalFondo)
		End If                           
		PlaySound(SonidoFondo,CanalFondo)



Who was John Galt?(Posted 2005) [#2]
I don't think there's a problem with what you're doing - there are currently issues with Max's sound drivers but I think work is being done on it.


skidracer(Posted 2005) [#3]
You mean there is sound already playing that becomes garbled during the load of the background music?

If you can rebuild modules I recomend trying the version of freeaudio.cpp as posted in this thread otherwise an official update is imminent.


ziggy(Posted 2005) [#4]
@skidracer: Well, you know, inminent sometimes means in a couple of months... :D Thanks for your info

[EDIT]
I've tried the freeaudio.cpp suggested in the thread you mentioned and the audio is ok now. :D Many thanks! No crapy sound any more.