I like to compile with --disable-sound on some machines- at least until Linux sound 
becomes a bit friendlier.

However, whenever I forget the --no-sequencer option on startup, I get a crash (let me 
know if you'd prefer the stack trace to this workaround).

yes, I could alias rosegarden 'rosegarden --no-sequencer'.  I'm looking to "fewer 
crashes for the future end-users" (tm).

What do you think about a patch along these lines?  Avoiding the real problem, or 
useful?  In theory, we could even add simple ifdef's around a lot of the sound stuff 
that becomes useless with --disable-sound...  Of course, this requires that people 
want to use RG for notation editing only...

Thanks,
Hans

Index: gui/main.cpp
===================================================================
RCS file: /cvsroot/rosegarden/gui/main.cpp,v
retrieving revision 1.63
diff -u -3 -p -u -r1.63 main.cpp
--- gui/main.cpp        5 Aug 2003 15:06:19 -0000       1.63
+++ gui/main.cpp        13 Oct 2003 15:11:39 -0000
@@ -467,9 +467,13 @@ int main(int argc, char *argv[])

     } else {

+#ifndef NO_SOUND
         app.setNoSequencerMode(!args->isSet("sequencer"));
+#else
+       app.setNoSequencerMode(true);
+#endif // NO_SOUND

-        rosegardengui = new RosegardenGUIApp(args->isSet("sequencer"),
+        rosegardengui = new RosegardenGUIApp(!app.noSequencerMode(),
                                              startLogo);

         app.setMainWidget(rosegardengui);

-- 
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to