patch-src_gui_setup_dialog_cpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. $OpenBSD: patch-src_gui_setup_dialog_cpp,v 1.1.1.1 2010/10/28 22:33:41 jakemsr Exp $
  2. --- src/gui/setup_dialog.cpp.orig Thu Dec 24 15:49:25 2009
  3. +++ src/gui/setup_dialog.cpp Wed Dec 30 00:25:23 2009
  4. @@ -55,6 +55,7 @@
  5. #include "AudioPortAudio.h"
  6. #include "AudioPulseAudio.h"
  7. #include "AudioSdl.h"
  8. +#include "AudioSndio.h"
  9. #include "AudioDummy.h"
  10. // platform-specific midi-interface-classes
  11. @@ -62,6 +63,7 @@
  12. #include "MidiAlsaSeq.h"
  13. #include "MidiOss.h"
  14. #include "MidiWinMM.h"
  15. +#include "MidiSndio.h"
  16. #include "MidiDummy.h"
  17. @@ -529,6 +531,12 @@ setupDialog::setupDialog( ConfigTabs _tab_to_open ) :
  18. m_audioIfaceSetupWidgets[AudioOss::name()] =
  19. new AudioOss::setupWidget( asw );
  20. #endif
  21. +
  22. +#ifdef LMMS_HAVE_SNDIO
  23. + m_audioIfaceSetupWidgets[AudioSndio::name()] =
  24. + new AudioSndio::setupWidget( asw );
  25. +#endif
  26. +
  27. m_audioIfaceSetupWidgets[AudioDummy::name()] =
  28. new AudioDummy::setupWidget( asw );
  29. @@ -607,6 +615,11 @@ setupDialog::setupDialog( ConfigTabs _tab_to_open ) :
  30. #ifdef LMMS_BUILD_WIN32
  31. m_midiIfaceSetupWidgets[MidiWinMM::name()] =
  32. new MidiWinMM::setupWidget( msw );
  33. +#endif
  34. +
  35. +#ifdef LMMS_HAVE_SNDIO
  36. + m_midiIfaceSetupWidgets[MidiSndio::name()] =
  37. + new MidiSndio::setupWidget( msw );
  38. #endif
  39. m_midiIfaceSetupWidgets[MidiDummy::name()] =