openbsd-ports/audio/lmms/patches/patch-src_gui_setup_dialog_cpp
jakemsr 2a227085fc initial import of audio/lmms
LMMS is a music production program.  This includes the creation of
melodies and beats, the synthesis and mixing of sounds, and arrangement
of samples.  You can have fun with your MIDI keyboard and much more.

Features:

* Song Editor for composing songs
* A Beat+Bassline Editor for creating beats and basslines
* An easy to use Piano Roll for editing patterns and melodies
* An FX mixer with 64 FX channels and arbitrary number of effects
  allow unlimited mixing possibilities
* Many powerful instrument and effects plugins out of the box
* Full user defined track based automation and computer controlled
  automation sources
* Compatible with many standards such as SoundFont2, LADSPA, and full
  MIDI support
* Import of MIDI and FLP (Frootyloops Project) files

import requested by armani@, some midi bits improved by ratchov@,
reviewed by ratchov@ and stsp@ "why isn't that imported yet" from
several
2010-10-28 22:33:41 +00:00

45 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_gui_setup_dialog_cpp,v 1.1.1.1 2010/10/28 22:33:41 jakemsr Exp $
--- src/gui/setup_dialog.cpp.orig Thu Dec 24 15:49:25 2009
+++ src/gui/setup_dialog.cpp Wed Dec 30 00:25:23 2009
@@ -55,6 +55,7 @@
#include "AudioPortAudio.h"
#include "AudioPulseAudio.h"
#include "AudioSdl.h"
+#include "AudioSndio.h"
#include "AudioDummy.h"
// platform-specific midi-interface-classes
@@ -62,6 +63,7 @@
#include "MidiAlsaSeq.h"
#include "MidiOss.h"
#include "MidiWinMM.h"
+#include "MidiSndio.h"
#include "MidiDummy.h"
@@ -529,6 +531,12 @@ setupDialog::setupDialog( ConfigTabs _tab_to_open ) :
m_audioIfaceSetupWidgets[AudioOss::name()] =
new AudioOss::setupWidget( asw );
#endif
+
+#ifdef LMMS_HAVE_SNDIO
+ m_audioIfaceSetupWidgets[AudioSndio::name()] =
+ new AudioSndio::setupWidget( asw );
+#endif
+
m_audioIfaceSetupWidgets[AudioDummy::name()] =
new AudioDummy::setupWidget( asw );
@@ -607,6 +615,11 @@ setupDialog::setupDialog( ConfigTabs _tab_to_open ) :
#ifdef LMMS_BUILD_WIN32
m_midiIfaceSetupWidgets[MidiWinMM::name()] =
new MidiWinMM::setupWidget( msw );
+#endif
+
+#ifdef LMMS_HAVE_SNDIO
+ m_midiIfaceSetupWidgets[MidiSndio::name()] =
+ new MidiSndio::setupWidget( msw );
#endif
m_midiIfaceSetupWidgets[MidiDummy::name()] =