mci

Capture mouse events in MCI video window

I'm making a media player using MCI, but I don't know how to capture mouse events in MCI video window. Is there anybody can help me? Please!!! ...

Detecting MCI activity in another app (powerpoint viewer 97)

Is there any way of detecting when another app plays audio via MCI? And more specifically, when it stops playing audio? The other app in question is the powerpoint viewer 97 which I believe uses MCI for its audio output. This is for a kiosk type system with XPe - I want to change the settings on attached audio amplifiers when the powe...

C# Play MP3 from Resources with MCI or WMP control?

Hi, I have a MP3 file in my Resources of Visual C#. I'm trying to find out if there is a way I can play this MP3 in a Windows Media Player control or with MCI, I'm not particular. I'm fairly new to C#. Thanks! ...

playing a list of audio files in sequence

I've been confronted to a situation. I'm writing a Windows app in C# .NET. I want to play multiple .wav files one after another and do that continuously. is there a class that could allow that ? otherwise, how would I implement it ? I tried using MCI and it works, using the notify flag and interception of the MM_MCINOTIFY message but i...

Simplest way to play mp3 from Visual C++

A few years back, I wrote some util library around DShow/DSound to let me play MP3s in a Windows C++ application. Is that still the normal way to do it in a C++/MFC app, or is that an area of DirectX that has been subsumed into the general Windows APIs? The motivation is simply we use the standard Windows PlaySound method for WAVs, and ...

How to change default sound playback device programatically?

How to change the default default audio device for playback and recording in vista programatically ? Is there any registry setting for it like sound manager in window XP? Which API does it? ...

why MCI_OPEN fails and returns invalid device id ?

dwReturn = mciSendCommand(0, MCI_OPEN, MCI_OPEN_ELEMENT | MCI_OPEN_TYPE , (DWORD_PTR)(LPVOID) &mciOpenParms); error -message is "The device name is already being used as an alias by this application. Use a unique alias." Why is it giving an error ? ...

why mciSendString() to get status position fails in my code ?

Is there any way to query mci device to query current playing position so that we can resume from there to play later on ? cmd.Format(L"status %d waveaudio position",m_iDeviceIDPlayer); mcirez = mciSendString(cmd,buff.GetBuffer(),1024, NULL); it gives this error : "The specified device is not open or is not recognized by MCI " Is th...

if i want to play mp3's what is the difference between lame and MCI(VFW32) ?

Hello basic question , i need to play mp3's in my application in windows when goggling i got allot of tutorials about VFW32.lib to play mp3's and i know lame , what is the best option for playing mp3's in c++? ...

Has song finished playing? (C# MCI)

Hi all I have an mp3 player that sends MCI commands to play pause/ff/rw/stop the audio files etc and the only thing i can't figure out how to do is send an MCI command to tell it to play the next song when the current one's finished playing. The songs are in a ListBox. I have no problems actually selecting the next song, I just need to...

make media player

how can i add "using MCI;" in my c# project to make media player ?????? ...