The ICaptureDeviceFactory interface opens an input capture device.
More...
#include <ICaptureDeviceFactory.h>
|
|
virtual | ~ICaptureDeviceFactory () |
| | Destroys the capture device factory.
|
| virtual std::shared_ptr< IReader > | openDevice (Specs specs, int buffersize)=0 |
| | Opens an audio capture device.
|
| virtual void | setName (const std::string &name)=0 |
| | Sets a name for the capture device.
|
The ICaptureDeviceFactory interface opens an input capture device.
◆ openDevice()
| virtual std::shared_ptr< IReader > ICaptureDeviceFactory::openDevice |
( |
Specs | specs, |
|
|
int | buffersize ) |
|
pure virtual |
Opens an audio capture device.
- Parameters
-
| specs | The desired specification. |
| buffersize | The capture buffer size in samples. |
- Exceptions
-
| Exception | Thrown if the audio device cannot be opened. |
◆ setName()
| virtual void ICaptureDeviceFactory::setName |
( |
const std::string & | name | ) |
|
|
pure virtual |
Sets a name for the capture device.
- Parameters
-
| name | The internal name for the capture device. |
The documentation for this interface was generated from the following file: