I have noticed a bug in the mp3 decoder in half-life 2 source engine. It does not seem to detect the sample rate properly and always assumes they are 44.1Mhz. This means that mp3s at a lower sample rate are played back "sped up". The engine plays raw PCM wav files at the proper rates (11Mhz, 22Mhz). For servers that provide custom sound files (such as my own), the size of wav files are prohibitively large. I get around this by encoding them to mp3, but because of this bug I need to resample my lower quality sound clips. This causes them to lose quality and balloon in size, defeating the purpose.
Is this a known issue? Is it possible to fix in a future release? 11Mhz and 22Mhz mp3s are valid and playable in any other decoder. In addition, the playback mechanism does not allow more than one mp3 to play at the same time, while it does for wav files. I assume this is a bug as well, because it behaves unprepdictably. That is, at some times you can play multiple mp3s at once and have them overlap properly, while at other times (most usually) the latter mp3 clips the first one off. Sorry if this is not the appropriate list, I could not find a list for general Source bugs, and is mostly an issue that gives trouble to server administrators. -- Chris _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

