Spaces:
Runtime error
Runtime error
// --------------------------------------------------------------------------------------- | |
// --------------------------------------------------------------------------------------- | |
namespace portaudio | |
{ | |
////// | |
/// @brief Stream class for blocking read/write-style input and output. | |
////// | |
class BlockingStream : public Stream | |
{ | |
public: | |
BlockingStream(); | |
BlockingStream(const StreamParameters ¶meters); | |
~BlockingStream(); | |
void open(const StreamParameters ¶meters); | |
void read(void *buffer, unsigned long numFrames); | |
void write(const void *buffer, unsigned long numFrames); | |
signed long availableReadSize() const; | |
signed long availableWriteSize() const; | |
private: | |
BlockingStream(const BlockingStream &); // non-copyable | |
BlockingStream &operator=(const BlockingStream &); // non-copyable | |
}; | |
} // portaudio | |
// --------------------------------------------------------------------------------------- | |