Home > Back-end >  How can consult. Array the play
How can consult. Array the play

Time:09-24

There is a sound array, TSoundBuffer=array [0.. 99999] of the Byte; I'll cycle to fill in the data inside, need to fill in the data at the same time use the computer speakers to fill in the data broadcast,
Known with PCM format can play, no resistance can check the data is limited now, do you have any other good method, can provide a reference or related information, thank you,

CodePudding user response:

Wait, don't sink,,,

CodePudding user response:

PlaySound, fdwSound parameter contains SND_MEMORY logo,

CodePudding user response:

Recommend a control XaudioPlayer, in terms of sound is very strong,

CodePudding user response:

Mixing requirement with DirectSound, if not, use MMSystem. Faster PlaySound directly

CodePudding user response:

Playsound play array will go wrong

CodePudding user response:

I use is
PlaySound (@ buf1 and 0, SND_ASYNC or SND_MEMORY);

CodePudding user response:

You don't have set up the WAVE head, will go wrong, of course,

  • Related