The Daily Click ::. Forums ::. Klik Coding Help ::. MCI object
 

Post Reply  Post Oekaki 
 

Posted By Message

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
23rd November, 2010 at 12:57:21 -

Sorry for my ever increasing noobiness but ive never used the MCI object before. 1 Question is what am i ment to put as the device name in the MCI object properties?
Also i wanna understand it a bit more, is there a list of commands i can find somewhere?

I have seen the article that someone wrote on it, but im still haveing problems. Also i get an error message about not having an alias / drive / or somthing... whats all that about?

Thanks

 
dont make me divide by zero...

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
23rd November, 2010 at 16:18:42 -

MCI is obsolete (replaced by DirectX - or in the case of Kliking, by other extensions).
To answer your question though...

The device name depends on the file extension you are trying to open. Names include:

"cdaudio" = compact disc audio track
"sequencer" = midi file
"waveaudio" = waveform audio file
"avivideo" = movie file

The complete MCI reference can be found here: http://msdn.microsoft.com/en-us/library/ms709461(VS.85).aspx
The multimedia commands are listed here: http://msdn.microsoft.com/en-us/library/ms712580(v=VS.85).aspx


 
n/a

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
24th November, 2010 at 11:07:03 -

Thanks sketchy that helped alot. So... i can do the same thing with the direct x object?
Sorry i havent ever used these extentions

 
dont make me divide by zero...

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
24th November, 2010 at 14:59:55 -

I meant that MCI in general, is obsolete - not just the MCI extension. Not even proper programmers use it any more.
There isn't a DirectX extension - only Directshow, which is for video (it can do audio too, but I wouldn't recommend it).

For audio, just use MMF2's built-in functions, unless you need something really advanced (like if you're trying to make a sophisticated media player), in which case there are a few other extensions you could try (or even bass.dll).

 
n/a
   

Post Reply



 



Advertisement

Worth A Click