mp3 playback problem

Started by zadinama,

zadinama

I'm writing a 2d space shooter computer game. It's freeware and I'm using BASS for the audio. The problem I'm having is that people tell me they hear sound effects (which are .wav and I play them as samples), but they don't hear music (which is .mp3 and I play it as a stream). I used BASS_Init() for the initialization, BASS_StreamCreateFile() to open the .mp3, and BASS_StreamPlay() to play the stream. None of the functions returned an error code, and the channel volume is 100. I'm writing in C++ on WinXP. The mp3 plays just fine but ONLY on my machine. The people who are having problems are running Win98 and Win2k. Any help or insight into what the problem might be is appreciated.

Hendrik

Are you sure you included the mp3 in your distribution, and pathnames are correct (i.e. not absolute)? :evil:
Of course you are.  ;D
Maybe you should give your friends a basic MP3-playing program to check what's wrong?

Atilla

Are you using the 32-bit floating-point capabilities? Bacause if so everything will run on XP because of the WDM drivers, but will fail creating streams on 98 with VxD drivers.

zadinama

ok, problem solved!
it was my mistake :-). (I'm not even telling anybody what was wrong because it's way too embarassing) :-).
it didn't have anything to do with whether they had win98 or winxp or whatever.

thanx for the replies anyway!