Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PSoundChannel::RecordFile ( const PFilePath file  )  [inline, virtual]

Record into the platform dependent sound file all of the buffer's of sound data. Use the SetBuffers() function to determine how long the recording will be made.

Note that this function will block until all of the data is buffered. If you wish to do this asynchronously, use StartRecording() and AreAllrecordBuffersFull() to determine when you can call RecordSound() without blocking.

Returns:
TRUE if the sound has been recorded.
Parameters:
file  Sound file recorded

Definition at line 724 of file sound.h.

References RecordFile().

Referenced by RecordFile().

    { return (baseChannel == NULL) ? FALSE : baseChannel->RecordFile(file); }


Generated by  Doxygen 1.6.0   Back to index