开发者

NSSound audible clicks on loop

开发者 https://www.devze.com 2023-04-02 12:16 出处:网络
I have an NSSound that is looping, and every time it loo开发者_如何学编程ps there is an audible \'click\' sound when it replays.

I have an NSSound that is looping, and every time it loo开发者_如何学编程ps there is an audible 'click' sound when it replays.

I'm using these methods:

[sound play];
[sound setLoops:YES];

Is there any way to get rid of this click? I have tried to alter the wav file it is playing so that it 'fades out' at the end but it doesn't seem to be changing anything.

Thanks heaps. :)


Problem was in my wav files. Sorted now :)

0

精彩评论

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