wip audio setup

This commit is contained in:
snt 2024-12-01 13:30:10 +01:00
parent e68b46f3b7
commit 9c559e8a8f
5 changed files with 16 additions and 4 deletions

View file

@ -34,7 +34,6 @@ v 0.3.0
- Rose noise and sine generator. - Rose noise and sine generator.
- Logs, verbosity, timestamp. - Logs, verbosity, timestamp.
- New play mode without pitch control, it saves resources. MA_SOUND_FLAG_NO_PITCH - New play mode without pitch control, it saves resources. MA_SOUND_FLAG_NO_PITCH
- SettingsDialog.
- Load/save conf file. - Load/save conf file.
- ¿Exit Point? is it needed? - ¿Exit Point? is it needed?
- Hardening: check return errors, try/catch exceptions, i'm too happy.... - Hardening: check return errors, try/catch exceptions, i'm too happy....
@ -46,4 +45,5 @@ v 0.3.0
v 0.2.1 showplayer v 0.2.1 showplayer
- SettingsDialog, configuración gráfica.

View file

@ -11,6 +11,6 @@
<file>resources/icon.png</file> <file>resources/icon.png</file>
<file>resources/panic_button.jpg</file> <file>resources/panic_button.jpg</file>
<file>resources/go_button.jpeg</file> <file>resources/go_button.jpeg</file>
<file>resources/restore_button.jpg</file> <file>resources/restore_button.jpg</file>
</qresource> </qresource>
</RCC> </RCC>

View file

@ -36,6 +36,7 @@ libreMediaServerAudioUi::libreMediaServerAudioUi(QWidget *parent)
addDockWidget(Qt::TopDockWidgetArea, topWidget); addDockWidget(Qt::TopDockWidgetArea, topWidget);
connect(ui.actionLaunch_OLA_Setup, SIGNAL(triggered()), this, SLOT(olasetup())); connect(ui.actionLaunch_OLA_Setup, SIGNAL(triggered()), this, SLOT(olasetup()));
connect(ui.actionLaunchShowPlayer, SIGNAL(triggered()), this, SLOT(launchShowPlayerWindow())); connect(ui.actionLaunchShowPlayer, SIGNAL(triggered()), this, SLOT(launchShowPlayerWindow()));
connect(ui.actionAudioSetup, SIGNAL(triggered()), this, SLOT(audioSetupWindow));
this->setContentsMargins(0, 0, 0, 0); this->setContentsMargins(0, 0, 0, 0);
this->setStyleSheet( this->setStyleSheet(
"margin: 0px;" "margin: 0px;"
@ -98,3 +99,8 @@ void libreMediaServerAudioUi::launchShowPlayerWindow()
{ {
m_showPlayer->show(); m_showPlayer->show();
} }
void libreMediaServerAudioUi::audioSetupWindow()
{
}

View file

@ -46,6 +46,7 @@ private:
private slots: private slots:
void olasetup(); void olasetup();
void launchShowPlayerWindow(); void launchShowPlayerWindow();
void audioSetupWindow();
}; };
#endif // LIBREMEDIASERVERAUDIOUI_H #endif // LIBREMEDIASERVERAUDIOUI_H

View file

@ -15,7 +15,6 @@
<font> <font>
<family>Unifont</family> <family>Unifont</family>
<pointsize>12</pointsize> <pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
@ -38,10 +37,11 @@
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">
<property name="title"> <property name="title">
<string>File</string> <string>Setup</string>
</property> </property>
<addaction name="actionLaunch_OLA_Setup"/> <addaction name="actionLaunch_OLA_Setup"/>
<addaction name="actionLaunchShowPlayer"/> <addaction name="actionLaunchShowPlayer"/>
<addaction name="actionAudioSetup"/>
</widget> </widget>
<addaction name="menuFile"/> <addaction name="menuFile"/>
</widget> </widget>
@ -55,6 +55,11 @@
<string>Show Player</string> <string>Show Player</string>
</property> </property>
</action> </action>
<action name="actionAudioSetup">
<property name="text">
<string>Audio</string>
</property>
</action>
</widget> </widget>
<resources> <resources>
<include location="../lms-resources.qrc"/> <include location="../lms-resources.qrc"/>