开发者

Random noise when playing Audio with OpenAL on Mac

开发者 https://www.devze.com 2023-02-16 10:16 出处:网络
I am porting a game from iPad to Mac. Every time I start the game, certain set of sounds when they are being played, have an irritating noise at the end of playback, much like a short duration of hea

I am porting a game from iPad to Mac.

Every time I start the game, certain set of sounds when they are being played, have an irritating noise at the end of playback, much like a short duration of heavy static noise.

Also the sounds which produce the noise is not the same on every execution. Each time a different set of sounds have the noise at the end.

Is there any OpenAL settings regarding to this situation to fix it.

Solutions tried:-

Tried to convert the mp3 files into some higher and lower bitrate format and tried to playback.开发者_运维百科 Still noise persists.


It sounds like (get it?) you're passing in a buffer that is larger than your data, and the noise at the end is the result of attempting to interpret those bytes as sound.

0

精彩评论

暂无评论...
验证码 换一张
取 消