summaryrefslogtreecommitdiff
path: root/RtAudio.h
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2008-01-24 20:26:40 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:38:22 +0200
commitee94b95a993d091d1ab7826951498b03bb6dbbbc (patch)
tree39224307d98bfa8438fd620c3f907d611afc4198 /RtAudio.h
parent637f7dc5e805bad55dba7fb7693a45f5992b2ae7 (diff)
Various updates in ALSA for probing while device is open and in Windows for thread priority (gps).
Diffstat (limited to 'RtAudio.h')
-rw-r--r--RtAudio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/RtAudio.h b/RtAudio.h
index 5e0666d..e7314c7 100644
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -10,7 +10,7 @@
RtAudio WWW site: http://www.music.mcgill.ca/~gary/rtaudio/
RtAudio: realtime audio i/o C++ classes
- Copyright (c) 2001-2007 Gary P. Scavone
+ Copyright (c) 2001-2008 Gary P. Scavone
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
@@ -617,7 +617,7 @@ protected:
#endif
RtApiStream()
- :apiHandle(0), deviceBuffer(0) {}
+ :apiHandle(0), deviceBuffer(0) { device[0] = 11111; device[1] = 11111; }
};
typedef signed short Int16;
@@ -867,6 +867,8 @@ public:
private:
+ std::vector<RtAudio::DeviceInfo> devices_;
+ void saveDeviceInfo( void );
bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
unsigned int firstChannel, unsigned int sampleRate,
RtAudioFormat format, unsigned int *bufferSize,