Changeset 2236
- Timestamp:
- 07/01/11 21:09:04 (2 years ago)
- Location:
- branches/undo
- Files:
-
- 3 modified
-
CMakeLists.txt (modified) (4 diffs)
-
src/core/include/hydrogen/config.h.in (modified) (1 diff)
-
src/gui/src/main.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/undo/CMakeLists.txt
r2169 r2236 35 35 OPTION(WANT_SHARED "Build the core library shared." ON) 36 36 ENDIF() 37 OPTION(WANT_LIBARCHIVE "Enable use of libarchive instead of libtar" OFF) 38 OPTION(WANT_LADSPA "Enable use of LADSPA plugins" ON) 39 OPTION(WANT_OSS "Include OSS (Open Sound System) support" OFF) 40 OPTION(WANT_ALSA "Include ALSA (Advanced Linux Sound Architecture) support" OFF) 41 OPTION(WANT_JACK "Include JACK (Jack Audio Connection Kit) support" ON) 42 OPTION(WANT_PORTAUDIO "Include PortAudio support" OFF) 43 OPTION(WANT_PORTMIDI "Include PortMidi support" OFF) 44 OPTION(WANT_LASH "Include LASH (Linux Audio Session Handler) support" OFF) 45 OPTION(WANT_LRDF "Include LRDF (Lightweight Resource Description Framework with special support for LADSPA plugins) support" OFF) 46 OPTION(WANT_RUBBERBAND "Include RUbberBand (Audio Time Stretcher Library) support" OFF) 37 OPTION(WANT_LIBARCHIVE "Enable use of libarchive instead of libtar" OFF) 38 OPTION(WANT_LADSPA "Enable use of LADSPA plugins" ON) 39 OPTION(WANT_JACKSESSION "Enable use of Jack-Session-Handler" OFF) 40 OPTION(WANT_OSS "Include OSS (Open Sound System) support" OFF) 41 OPTION(WANT_ALSA "Include ALSA (Advanced Linux Sound Architecture) support" OFF) 42 OPTION(WANT_JACK "Include JACK (Jack Audio Connection Kit) support" ON) 43 OPTION(WANT_PORTAUDIO "Include PortAudio support" OFF) 44 OPTION(WANT_PORTMIDI "Include PortMidi support" OFF) 45 OPTION(WANT_LASH "Include LASH (Linux Audio Session Handler) support" OFF) 46 OPTION(WANT_LRDF "Include LRDF (Lightweight Resource Description Framework with special support for LADSPA plugins) support" OFF) 47 OPTION(WANT_RUBBERBAND "Include RUbberBand (Audio Time Stretcher Library) support" OFF) 47 48 IF(APPLE) 48 49 OPTION(WANT_COREAUDIO "Include CoreAudio support" ON) … … 137 138 FIND_HELPER(OSS oss sys/soundcard.h OSSlib ) 138 139 FIND_HELPER(JACK jack jack/jack.h jack) 140 FIND_HELPER(JACKSESSION jack jack/session.h jack) 139 141 IF(APPLE) 140 142 FIND_LIBRARY(AUDIOUNIT_LIBRARY AudioUnit) … … 162 164 # COMPUTE H2CORE_HAVE_xxx xxx_STATUS_REPORT 163 165 # 164 SET(STATUS_LIST LIBSNDFILE LIBTAR LIBARCHIVE LADSPA ALSA OSS JACK COREAUDIO COREMIDI PORTAUDIO PORTMIDI LASH LRDF RUBBERBAND )166 SET(STATUS_LIST LIBSNDFILE LIBTAR LIBARCHIVE LADSPA ALSA OSS JACK JACKSESSION COREAUDIO COREMIDI PORTAUDIO PORTMIDI LASH LRDF RUBBERBAND ) 165 167 FOREACH( _pkg ${STATUS_LIST}) 166 168 COMPUTE_PKGS_FLAGS(${_pkg}) … … 202 204 * ${_escape}[1;35mOSS${_escape}[0m : ${OSS_STATUS} 203 205 * ${_escape}[1;35mJACK${_escape}[0m : ${JACK_STATUS} 206 * ${_escape}[1;35mJACKSESSION${_escape}[0m : ${JACKSESSION_STATUS} 204 207 * ${_escape}[1;35mCoreAudio${_escape}[0m : ${COREAUDIO_STATUS} 205 208 * ${_escape}[1;35mCoreMidi${_escape}[0m : ${COREMIDI_STATUS} -
branches/undo/src/core/include/hydrogen/config.h.in
r2135 r2236 50 50 #cmakedefine H2CORE_HAVE_LASH 51 51 #endif 52 #ifndef H2CORE_HAVE_JACKSESSION 53 #cmakedefine H2CORE_HAVE_JACKSESSION 54 #endif 52 55 #ifndef H2CORE_HAVE_PORTAUDIO 53 56 #cmakedefine H2CORE_HAVE_PORTAUDIO -
branches/undo/src/gui/src/main.cpp
r2226 r2236 35 35 #include <hydrogen/LashClient.h> 36 36 #endif 37 #ifdef H2CORE_HAVE_JACKSESSION 38 #include <jack/session.h> 39 #endif 37 40 38 41 #include <hydrogen/midiMap.h> … … 58 61 {"driver", required_argument, NULL, 'd'}, 59 62 {"song", required_argument, NULL, 's'}, 63 #ifdef H2CORE_HAVE_JACKSESSION 64 {"session-id", required_argument, NULL, 'S'}, 65 #endif 60 66 {"playlist", required_argument, NULL, 'p'}, 61 67 {"version", 0, NULL, 'v'}, … … 166 172 // Deal with the options 167 173 QString songFilename; 174 #ifdef H2CORE_HAVE_JACKSESSION 175 QString sessionId; 176 #endif 168 177 QString playlistFilename; 169 178 bool bNoSplash = false; … … 189 198 songFilename = QString::fromLocal8Bit(optarg); 190 199 break; 200 #ifdef H2CORE_HAVE_JACKSESSION 201 case 'S': 202 sessionId = QString::fromLocal8Bit(optarg); 203 break; 204 #endif 191 205 192 206 case 'p': … … 452 466 std::cout << " -d, --driver AUDIODRIVER - Use the selected audio driver (jack, alsa, oss)" << std::endl; 453 467 std::cout << " -s, --song FILE - Load a song (*.h2song) at startup" << std::endl; 468 469 #ifdef H2CORE_HAVE_JACKSESSION 470 std::cout << " -S, --session-id ID - Start a JackSessionHandler session" << std::endl; 471 #endif 472 454 473 std::cout << " -p, --playlist FILE - Load a playlist (*.h2playlist) at startup" << std::endl; 455 474 std::cout << " -k, --kit drumkit_name - Load a drumkit at startup" << std::endl;