MCISendString() - Playing MCI files from memory

D

dianedawson_777

Hello,
Does anyone have a working command string / usage to play audio data
(WAV format) from RAM ?

Basically, I have some random files that I can convert to WAV (RIFF)
format very easily.

I can write them out to disk (eg C:\Temp\test.wav) and then play them
back with MCI. No problems there.

It would be preferable however to just play them from memory.
(Basically just be able to pass in a buffer & length & whatever
parameters are required to MCI).

Any help is greatly appreciated.Thanks.
 
H

Howard

Hello,
Does anyone have a working command string / usage to play audio data
(WAV format) from RAM ?

Basically, I have some random files that I can convert to WAV (RIFF)
format very easily.

I can write them out to disk (eg C:\Temp\test.wav) and then play them
back with MCI. No problems there.

It would be preferable however to just play them from memory.
(Basically just be able to pass in a buffer & length & whatever
parameters are required to MCI).

Any help is greatly appreciated.Thanks.

Check the documentation for MCI (whatever that is), or their website or a
newsgroup or forum they support. In any case, it's not topical in this
newsgroup. We discuss C++ language problems here, not third-party APIs or
libraries.

-Howard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,660
Latest member
vidotip479

Latest Threads

Top