Playback of audio using Playsound function,
As follows: PlaySound (MAKEINTRESOURCE (IDR_WAVE2), NULL, SND_RESOURCE | SND_LOOP | SND_ASYNC);
Background music looping is very good,
But not looping button prompt (11111111111111 o T T... )
Methods using the online either useless or the background music also together to stop the T T,,,
Seek a great god advice!!
CodePudding user response:
PlaySound (MAKEINTRESOURCE (IDR_WAVE2), NULL, SND_RESOURCE);CodePudding user response:
PlaySound (MAKEINTRESOURCE (IDR_WAVE2), NULL, SND_RESOURCE | SND_ASYNC);CodePudding user response:
PlaySound with mixing, suggest using McIsendstringCodePudding user response:
Don't SND_LOOPCodePudding user response:
PlaySound should not support more than play wav files at the same time,Try the McISendString ~
CodePudding user response:
PlaySound should not support more than play wav files at the same time,Try the McISendString