AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Solved Custom sounds not working? (https://forums.alliedmods.net/showthread.php?t=283240)

404UserNotFound 05-28-2016 15:15

Custom sounds not working?
 
Code:

MP3 initialized with no sound cache, this may cause janking. [ unfgaming\allahuakbar.mp3 ]
Failed to create decoder for MP3 [ unfgaming\allahuakbar.mp3 ]
MP3 initialized with no sound cache, this may cause janking. [ unfgaming\allahuakbar.mp3 ]
Failed to create decoder for MP3 [ unfgaming\allahuakbar.mp3 ]
*** Invalid sample rate (0) for sound 'unfgaming\allahuakbar.mp3'.
*

What the heck? I just googled these errors....not finding much help. Anyone have any experience with this? Maybe someone knows how to fix it?

AeroAcrobat 05-28-2016 15:30

Re: Custom sounds not working?
 
Code:

Invalid sample rate (0) for sound 'unfgaming\allahuakbar.mp3'.
AFAIK sounds need to be 22k Hz or 44k Hz.

AeroAcrobat 05-30-2016 15:11

Re: Custom sounds not working?
 
Yes, do that.
I've all my custom content in tf/custom/ ...
- materials
- models
- sound

Quote:

Originally Posted by Powerlord (Post 1974325)
You can put sound files in a subdirectory of custom, such as custom/mystuff/sound/myintro/intro.mp3. This is part of a virtual file system and will be seen as sound/myintro/intro.mp3 by both the server and client, meaning that the fastdownload location is still sound/myintro/intro.mp3

Search for something like: "steampipe custom files change"

Jillchang 01-14-2017 12:25

Re: Custom sounds not working?
 
Quote:

Originally Posted by abrandnewday (Post 2422800)
Code:

MP3 initialized with no sound cache, this may cause janking. [ unfgaming\allahuakbar.mp3 ]
Failed to create decoder for MP3 [ unfgaming\allahuakbar.mp3 ]
MP3 initialized with no sound cache, this may cause janking. [ unfgaming\allahuakbar.mp3 ]
Failed to create decoder for MP3 [ unfgaming\allahuakbar.mp3 ]
*** Invalid sample rate (0) for sound 'unfgaming\allahuakbar.mp3'.
*

What the heck? I just googled these errors....not finding much help. Anyone have any experience with this? Maybe someone knows how to fix it?


What did you do to fix it?
I am having the same issues and it is causing clients to crash due to excessive console spam.

404UserNotFound 01-14-2017 19:08

Re: Custom sounds not working?
 
I haven't fixed it. I've avoided using custom sounds in anything I make as a result.

EDIT: Ah, I see; I tagged it [Solved] as I had gone through a bunch of threads I had made when [Solved] was added to AM, and tagged them as [Solved] if they were solved. I must've tagged this one because it hit a dead end.


All times are GMT -4. The time now is 03:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.