Spaces:
Runtime error
Runtime error
// --------------------------------------------------------------------------------------- | |
// --------------------------------------------------------------------------------------- | |
// Forward declaration(s) | |
namespace portaudio | |
{ | |
class StreamParameters; | |
class CallbackInterface; | |
} | |
// --------------------------------------------------------------------------------------- | |
// Declaration(s): | |
namespace portaudio | |
{ | |
////// | |
/// @brief Callback stream using an instance of an object that's derived from the CallbackInterface | |
/// interface. | |
////// | |
class InterfaceCallbackStream : public CallbackStream | |
{ | |
public: | |
InterfaceCallbackStream(); | |
InterfaceCallbackStream(const StreamParameters ¶meters, CallbackInterface &instance); | |
~InterfaceCallbackStream(); | |
void open(const StreamParameters ¶meters, CallbackInterface &instance); | |
private: | |
InterfaceCallbackStream(const InterfaceCallbackStream &); // non-copyable | |
InterfaceCallbackStream &operator=(const InterfaceCallbackStream &); // non-copyable | |
}; | |
} // portaudio | |
// --------------------------------------------------------------------------------------- | |