kopia lustrzana https://github.com/f4exb/sdrangel
SimplePTT: fixed list of audio devices for VOX displaying output instead of input devices
rodzic
6af0618240
commit
66707b19bc
|
@ -482,7 +482,7 @@ void SimplePTTGUI::applyPTT(bool tx)
|
||||||
void SimplePTTGUI::audioSelect()
|
void SimplePTTGUI::audioSelect()
|
||||||
{
|
{
|
||||||
qDebug("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();
|
audioSelect.exec();
|
||||||
|
|
||||||
if (audioSelect.m_selected)
|
if (audioSelect.m_selected)
|
||||||
|
|
|
@ -240,7 +240,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QSpinBox" name="voxHold">
|
<widget class="QSpinBox" name="voxHold">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Vox delay (ms)</string>
|
<string>Vox hold (ms)</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>500</number>
|
<number>500</number>
|
||||||
|
|
|
@ -33,7 +33,12 @@ namespace Ui {
|
||||||
class SDRGUI_API AudioSelectDialog : public QDialog {
|
class SDRGUI_API AudioSelectDialog : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
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();
|
~AudioSelectDialog();
|
||||||
|
|
||||||
QString m_audioDeviceName;
|
QString m_audioDeviceName;
|
||||||
|
|
Ładowanie…
Reference in New Issue