LMMS
Loading...
Searching...
No Matches
include
AudioAlsaSetupWidget.h
Go to the documentation of this file.
1
/*
2
* AudioAlsaSetupWidget.h - Implements a setup widget for ALSA-PCM-output
3
*
4
* Copyright (c) 2004-2015 Tobias Doerffel <tobydox/at/users.sourceforge.net>
5
*
6
* This file is part of LMMS - https://lmms.io
7
*
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public
19
* License along with this program (see COPYING); if not, write to the
20
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
* Boston, MA 02110-1301 USA.
22
*
23
*/
24
25
#ifndef LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H
26
#define LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H
27
28
#include "lmmsconfig.h"
29
30
#ifdef LMMS_HAVE_ALSA
31
32
#include "
AudioDeviceSetupWidget.h
"
33
34
#include "
AudioAlsa.h
"
35
36
37
class
QComboBox;
38
39
namespace
lmms::gui
40
{
41
42
class
LcdSpinBox
;
43
44
class
AudioAlsaSetupWidget
:
public
AudioDeviceSetupWidget
45
{
46
Q_OBJECT
47
48
public
:
49
AudioAlsaSetupWidget
( QWidget * _parent );
50
~AudioAlsaSetupWidget
()
override
;
51
52
void
saveSettings
()
override
;
53
54
public
slots:
55
void
onCurrentIndexChanged
(
int
index);
56
57
private
:
58
QComboBox *
m_deviceComboBox
;
59
LcdSpinBox
*
m_channels
;
60
61
int
m_selectedDevice
;
62
AudioAlsa::DeviceInfoCollection
m_deviceInfos
;
63
};
64
65
}
// namespace lmms::gui
66
67
#endif
// LMMS_HAVE_ALSA
68
69
#endif
// LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H
AudioAlsa.h
AudioDeviceSetupWidget.h
lmms::AudioAlsa::DeviceInfoCollection
std::vector< DeviceInfo > DeviceInfoCollection
Definition
AudioAlsa.h:68
lmms::gui::AudioAlsaSetupWidget::m_deviceInfos
AudioAlsa::DeviceInfoCollection m_deviceInfos
Definition
AudioAlsaSetupWidget.h:62
lmms::gui::AudioAlsaSetupWidget::m_deviceComboBox
QComboBox * m_deviceComboBox
Definition
AudioAlsaSetupWidget.h:58
lmms::gui::AudioAlsaSetupWidget::m_selectedDevice
int m_selectedDevice
Definition
AudioAlsaSetupWidget.h:61
lmms::gui::AudioAlsaSetupWidget::~AudioAlsaSetupWidget
~AudioAlsaSetupWidget() override
Definition
AudioAlsaSetupWidget.cpp:88
lmms::gui::AudioAlsaSetupWidget::AudioAlsaSetupWidget
AudioAlsaSetupWidget(QWidget *_parent)
Definition
AudioAlsaSetupWidget.cpp:39
lmms::gui::AudioAlsaSetupWidget::onCurrentIndexChanged
void onCurrentIndexChanged(int index)
Definition
AudioAlsaSetupWidget.cpp:113
lmms::gui::AudioAlsaSetupWidget::m_channels
LcdSpinBox * m_channels
Definition
AudioAlsaSetupWidget.h:59
lmms::gui::AudioAlsaSetupWidget::saveSettings
void saveSettings() override
Definition
AudioAlsaSetupWidget.cpp:96
lmms::gui::AudioDeviceSetupWidget::AudioDeviceSetupWidget
AudioDeviceSetupWidget(const QString &_caption, QWidget *_parent)
Definition
AudioDeviceSetupWidget.cpp:30
lmms::gui::LcdSpinBox
Definition
LcdSpinBox.h:35
lmms::gui
Definition
AudioPortAudio.cpp:223
Generated on
for LMMS by
1.16.1