Add Audio Device Selection to GUI (Fix #376) (#377)

This commit is contained in:
Blueroom VR 2020-11-20 04:14:45 -08:00 committed by GitHub
commit a11341f448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 73 additions and 4 deletions

View file

@ -42,6 +42,7 @@ struct StreamSessionConnectInfo
QMap<Qt::Key, int> key_map;
Decoder decoder;
HardwareDecodeEngine hw_decode_engine;
QString audio_out_device;
uint32_t log_level_mask;
QString log_file;
QString host;
@ -81,6 +82,7 @@ class StreamSession : public QObject
ChiakiPiDecoder *pi_decoder;
#endif
QAudioDeviceInfo audio_out_device_info;
unsigned int audio_buffer_size;
QAudioOutput *audio_output;
QIODevice *audio_io;