mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
made getRecordingDevices keep already existing devices
--HG-- branch : minor-mic-input
This commit is contained in:
@@ -47,7 +47,7 @@ namespace openal
|
||||
class RecordingDevice : public love::audio::RecordingDevice
|
||||
{
|
||||
public:
|
||||
RecordingDevice(const char *name, int id);
|
||||
RecordingDevice(const char *name);
|
||||
virtual ~RecordingDevice();
|
||||
virtual bool startRecording();
|
||||
virtual bool startRecording(int samples, int sampleRate, int bitDepth, int channels);
|
||||
@@ -66,7 +66,6 @@ private:
|
||||
int bitDepth = 16;
|
||||
int channels = 1;
|
||||
std::string name;
|
||||
int id;
|
||||
ALCdevice *device = nullptr;
|
||||
}; //RecordingDevice
|
||||
|
||||
|
||||
Reference in New Issue
Block a user