diff options
Diffstat (limited to 'intern/audaspace/intern/AUD_ReadDevice.h')
-rw-r--r-- | intern/audaspace/intern/AUD_ReadDevice.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/intern/audaspace/intern/AUD_ReadDevice.h b/intern/audaspace/intern/AUD_ReadDevice.h index 0a77f74b9f6..2d0e37c44c1 100644 --- a/intern/audaspace/intern/AUD_ReadDevice.h +++ b/intern/audaspace/intern/AUD_ReadDevice.h @@ -60,6 +60,12 @@ public: AUD_ReadDevice(AUD_DeviceSpecs specs); /** + * Creates a new read device. + * \param specs The wanted audio specification. + */ + AUD_ReadDevice(AUD_Specs specs); + + /** * Closes the device. */ virtual ~AUD_ReadDevice(); @@ -73,6 +79,12 @@ public: * silence. */ bool read(data_t* buffer, int length); + + /** + * Changes the output specification. + * \param specs The new audio data specification. + */ + void changeSpecs(AUD_Specs specs); }; #endif //AUD_READDEVICE |