🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages Started by Hewlett Sat, 28 Apr 2001 18:16
Can I use progressbar when I record sound.
#1272
Author: Hewlett
Date: Sat, 28 Apr 2001 18:16
12 lines
1294 bytes
DWORD __fastcall TMainForm::RecordWaveFile(DWORD Length)
{
    DWORD dwReturn;
    MCI_RECORD_PARMS mciRecordParms;
    mciRecordParms.dwTo = Length;
    dwReturn = mciSendCommand(wDeviceID, MCI_RECORD, MCI_TO | MCI_WAIT | MCI_RECORD_OVERWRITE, (DWORD)(LPVOID) &mciRecordParms);
    if (dwReturn!=0)
        CloseWaveFile();
    return dwReturn;
}
//when I use this code to record wav file. I can not  use progressbar to show time recording syncronize it. How I can do use progressbar to show time recording and syncronize with this code.  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads