Minor JACK fix - Alex
authorterminatorX <>
Wed, 30 Jul 2003 22:05:39 +0000 (22:05 +0000)
committerterminatorX <>
Wed, 30 Jul 2003 22:05:39 +0000 (22:05 +0000)
src/tX_audiodevice.cc
src/tX_mastergui.cc

index 60958f5b2275a13a4ef2da41b17c15e0f95c1b0e..6289aa83ff31aeac08a25c14eb7ffb183b803a01 100644 (file)
@@ -465,9 +465,9 @@ tX_audiodevice_jack::tX_audiodevice_jack():tX_audiodevice()
 int tX_audiodevice_jack::open()
 {
        tX_jack_client *jack_client=tX_jack_client::get_instance();
-       sample_rate=jack_client->get_sample_rate();
        
        if (jack_client) {
+               sample_rate=jack_client->get_sample_rate();
                client=jack_client;
                is_open=true;
                
index b5902eab0a5566efad91a2541f40046c5316d572..146b288664cddfd708ba2bd5116f823b8b5cd419 100644 (file)
@@ -617,7 +617,7 @@ GtkSignalFunc audio_on(GtkWidget *w, void *d)
                                tx_note("Error starting engine: engine is already running.", true);
                                break;
                                case ERROR_AUDIO:
-                               tx_note("Error starting engine: failed to access audiodevice.", true);
+                               tx_note("Error starting engine: failed to access audiodevice.\nPlease check the audio device settings in the \"Preferences\" dialog.", true);
                                break;
                                case ERROR_TAPE:
                                tx_note("Error starting engine: failed to open the recording file.", true);