On Mon, 28 Nov 2005 13:55:00 +0100, <[EMAIL PROTECTED]> wrote:

>I want to call mciSendCommand to record a music in Windows.
>
>I want to do same thing like in this code (Delphi):
>...
>
>1. Can I do it ?
>2. If not, what is the solution (I haven't Delphi... I have only 
>freeware things)
>  
>

I have not seen a Python wrapper for the multimedia APIs in winmm.dll.  
There are a couple of references in Google, but no good hits.

However, you could certainly construct one with ctypes.  In your case, 
all you should need is the mciSendString command.  Everything you have 
done with mciSendCommand can be done with the simpler mciSendString 
commands, kind of like this:

  mciSendString( "open new type waveaudio alias cap" )
  mciSendString( "set cap bitspersample 16 channels 1 samplespersec 44100" )
  mciSendString( "record cap" )

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to