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

BOOL PSoundChannel::Write ( const void *  buf,
PINDEX  len 
) [inline, virtual]

Low level write (or play) to the channel. This function will block until the requested number of characters are written or the write timeout is reached. The GetLastWriteCount() function returns the actual number of bytes written.

The GetErrorCode() function should be consulted after Write() returns FALSE to determine what caused the failure.

TRUE if at least len bytes were written to the channel.

Reimplemented from PChannel.

Definition at line 599 of file sound.h.

References Write().

Referenced by Write().

      { return (baseChannel == NULL) ? FALSE : baseChannel->Write(buf, len); }

Generated by  Doxygen 1.6.0   Back to index