windows pascal

how to use sound recording and playing in pascal program
thanks

Comments

  • : how to use sound recording and playing in pascal program
    : thanks
    :
    to play:
    [code]
    uses mmsystems;

    begin
    SendMCICommand('MCIDEVICEID wDeviceID,MCI_WINDOW, DWORD dwFlags, (DWORD) (LPMCI_GENERIC_PARMS) lpWindow');
    SendMCICommand('open overlay shareable');
    SendMCICommand('play "[red]somesoundfile.wmv[/red]"');
    SendMCICommand('close overlay');
    end.
    [/code]
    just replace the red with the file path/name

    for recording-i don't think pascal does that, you need recording software
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion