label=newTQLabel(i18n("Rosegarden can start the JACK audio daemon (jackd) for you automatically if it isn't already running when Rosegarden starts.\n\nThis is recommended for beginners and those who use Rosegarden as their main audio application, but it might not be to the liking of advanced users.\n\nIf you want to start JACK automatically, make sure the command includes a full path where necessary as well as any command-line arguments you want to use.\n\nFor example: /usr/local/bin/jackd -d alsa -d hw -r44100 -p 2048 -n 2\n\n"),frame);
label=newTQLabel(i18n("Rosegarden can start the JACK audio daemon (jackd) for you automatically if it isn't already running when Rosegarden starts.\n\nThis is recommended for beginners and those who use Rosegarden as their main audio application, but it might not be to the liking of advanced users.\n\nIf you want to start JACK automatically, make sure the command includes a full path where necessary as well as any command-line arguments you want to use.\n\nFor example: /usr/local/bin/jackd -d alsa -d hw -r44100 -p 2048 -n 2\n\n"),frame);
NOTATION_DEBUG<<"ChordNameRuler::recalculate: change is "<<overalltqStatus.from()<<"->"<<overalltqStatus.to()<<", I show "<<from<<"->"<<to<<", recalculating visible area"<<endl;
NOTATION_DEBUG<<"ChordNameRuler::recalculate: change is "<<overallStatus.from()<<"->"<<overallStatus.to()<<", I show "<<from<<"->"<<to<<", recalculating visible area"<<endl;
NOTATION_DEBUG<<"ChordNameRuler::recalculate: change is "<<overalltqStatus.from()<<"->"<<overalltqStatus.to()<<", I show "<<from<<"->"<<to<<", ignoring"<<endl;
NOTATION_DEBUG<<"ChordNameRuler::recalculate: change is "<<overallStatus.from()<<"->"<<overallStatus.to()<<", I show "<<from<<"->"<<to<<", ignoring"<<endl;
level=RecalcNone;
level=RecalcNone;
}else{
}else{
NOTATION_DEBUG<<"ChordNameRuler::recalculate: change is "<<overalltqStatus.from()<<"->"<<overalltqStatus.to()<<", I show "<<from<<"->"<<to<<", recalculating whole"<<endl;
NOTATION_DEBUG<<"ChordNameRuler::recalculate: change is "<<overallStatus.from()<<"->"<<overallStatus.to()<<", I show "<<from<<"->"<<to<<", recalculating whole"<<endl;
if(!rgapp->sequencerCall("record(long int, long int, long int, long int, long int, long int, long int, long int, long int, long int, long int, long int)",
if(!rgapp->sequencerCall("record(long int, long int, long int, long int, long int, long int, long int, long int, long int, long int, long int, long int)",
replyType,replyData,data)){
replyType,replyData,data)){
// failed
// failed
m_transporttqStatus =STOPPED;
m_transportStatus =STOPPED;
return;
return;
}
}
@ -865,7 +865,7 @@ punchin:
if(result){
if(result){
// completed successfully
// completed successfully
m_transporttqStatus =STARTING_TO_RECORD;
m_transportStatus =STARTING_TO_RECORD;
// Create the countdown timer dialog to show recording time
// Create the countdown timer dialog to show recording time
// remaining. (Note (dmm) this has changed, and it now reports
// remaining. (Note (dmm) this has changed, and it now reports
@ -900,7 +900,7 @@ punchin:
}else{
}else{
// Stop immediately - turn off buttons in parent
// Stop immediately - turn off buttons in parent
//
//
m_transporttqStatus =STOPPED;
m_transportStatus =STOPPED;
if(haveAudioInstrument){
if(haveAudioInstrument){
throw(Exception("Couldn't start recording audio.\nPlease set a valid file path in the Document Properties\n(Composition menu -> Edit Document Properties -> Audio)."));
throw(Exception("Couldn't start recording audio.\nPlease set a valid file path in the Document Properties\n(Composition menu -> Edit Document Properties -> Audio)."));
text=i18n("<p>Both MIDI and Audio subsystems have failed to initialize.</p><p>You may continue without the sequencer, but we suggest closing Rosegarden, running \"alsaconf\" as root, and starting Rosegarden again. If you wish to run with no sequencer by design, then use \"rosegarden --nosequencer\" to avoid seeing this error in the future.</p>");
text=i18n("<p>Both MIDI and Audio subsystems have failed to initialize.</p><p>You may continue without the sequencer, but we suggest closing Rosegarden, running \"alsaconf\" as root, and starting Rosegarden again. If you wish to run with no sequencer by design, then use \"rosegarden --nosequencer\" to avoid seeing this error in the future.</p>");
}elseif(!(m_soundDrivertqStatus &MIDI_OK)){
}elseif(!(m_soundDriverStatus &MIDI_OK)){
text=i18n("<p>The MIDI subsystem has failed to initialize.</p><p>You may continue without the sequencer, but we suggest closing Rosegarden, running \"modprobe snd-seq-midi\" as root, and starting Rosegarden again. If you wish to run with no sequencer by design, then use \"rosegarden --nosequencer\" to avoid seeing this error in the future.</p>");
text=i18n("<p>The MIDI subsystem has failed to initialize.</p><p>You may continue without the sequencer, but we suggest closing Rosegarden, running \"modprobe snd-seq-midi\" as root, and starting Rosegarden again. If you wish to run with no sequencer by design, then use \"rosegarden --nosequencer\" to avoid seeing this error in the future.</p>");
}elseif(!(m_soundDrivertqStatus &VERSION_OK)){
}elseif(!(m_soundDriverStatus &VERSION_OK)){
text=i18n("<p>The Rosegarden sequencer module version does not match the GUI module version.</p><p>You have probably mixed up files from two different versions of Rosegarden. Please check your installation.</p>");
text=i18n("<p>The Rosegarden sequencer module version does not match the GUI module version.</p><p>You have probably mixed up files from two different versions of Rosegarden. Please check your installation.</p>");
KMessageBox::information(RosegardenGUIApp::self(),i18n("<h3>Failed to connect to JACK audio server.</h3><p>Rosegarden could not connect to the JACK audio server. This probably means the JACK server is not running.</p><p>If you want to be able to play or record audio files or use plugins, you should exit Rosegarden and start the JACK server before running Rosegarden again.</p>"),
KMessageBox::information(RosegardenGUIApp::self(),i18n("<h3>Failed to connect to JACK audio server.</h3><p>Rosegarden could not connect to the JACK audio server. This probably means the JACK server is not running.</p><p>If you want to be able to play or record audio files or use plugins, you should exit Rosegarden and start the JACK server before running Rosegarden again.</p>"),