mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
SimplePTT: fixed list of audio devices for VOX displaying output instead of input devices
This commit is contained in:
parent
6af0618240
commit
66707b19bc
@ -482,7 +482,7 @@ void SimplePTTGUI::applyPTT(bool tx)
|
||||
void SimplePTTGUI::audioSelect()
|
||||
{
|
||||
qDebug("SimplePTTGUI::audioSelect");
|
||||
AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName);
|
||||
AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true);
|
||||
audioSelect.exec();
|
||||
|
||||
if (audioSelect.m_selected)
|
||||
|
@ -240,7 +240,7 @@
|
||||
<item>
|
||||
<widget class="QSpinBox" name="voxHold">
|
||||
<property name="toolTip">
|
||||
<string>Vox delay (ms)</string>
|
||||
<string>Vox hold (ms)</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>500</number>
|
||||
|
@ -33,7 +33,12 @@ namespace Ui {
|
||||
class SDRGUI_API AudioSelectDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AudioSelectDialog(const AudioDeviceManager* audioDeviceManager, const QString& deviceName, bool input = false, QWidget* parent = 0);
|
||||
explicit AudioSelectDialog(
|
||||
const AudioDeviceManager* audioDeviceManager,
|
||||
const QString& deviceName,
|
||||
bool input = false,
|
||||
QWidget* parent = nullptr
|
||||
);
|
||||
~AudioSelectDialog();
|
||||
|
||||
QString m_audioDeviceName;
|
||||
|
Loading…
Reference in New Issue
Block a user