PDA

View Full Version : Playing sounds?


Danation
08-17-2009, 12:31 AM
How do you play a sound with ELF?

A simple one-second sound. I see this command in an ELF:

MME_GC_playback_open_audio_play_forget(strFilePath );

But it won't compile. I can't find it anywhere in any SDK that I can think of.

It's really frustrating me.

croccio
08-17-2009, 04:05 PM
u can use src of tunes by om

Danation
08-18-2009, 12:08 PM
Yeah, I looked through that. Looks rather complex. I'll have to study it more when I get off work :S

I was just wondering if somebody had any code snippets.

It turns out I was right after all. I just needed to put it in a header file:

UINT32 MME_GC_playback_open_audio_play_forget(WCHAR* filename);