A friend and I have been having some issues regarding playing MP3 files in Garry’s Mod. Every attempt at playing an MP3 file, whether it’s located directly in /garrysmod/sound/, in a legacy addon, or in a workshop addon, results in the following console output:
Create Stream Failed error 44 Failed to load sound "test.mp3", file probably missing from disk/repository
The above output was from an attempt to play a sound with the ULX “playsound” command, which does tests to make sure the file exists before attempting to play it. So, yes, test.mp3 did exist in that situation and was in the proper directory, /sound/.
The few sources of information that weren’t telling us that “you need mp3 codecs lol” and “well duh the file dosnt exist” led us to the package gstreamer0.10-plugins, however installing and rebooting did nothing for our situation. So, I’m not sure what to do—whether I need to install a codec that I’ve been missing the whole time, or Garry’s Mod needs to be patched or something. But I doubt it’s the latter—pretty sure it’d work fine on something like Ubuntu, which has a lot of packages thrown into it fromt he get-go.
If anyone has any information as to how to get MP3s working in Garry’s Mod under Arch Linux, I’d appreciate the help! Thanks!