937 |
#endif |
#endif |
938 |
dialog.set_version(VERSION); |
dialog.set_version(VERSION); |
939 |
dialog.set_copyright("Copyright (C) 2006-2013 Andreas Persson"); |
dialog.set_copyright("Copyright (C) 2006-2013 Andreas Persson"); |
940 |
dialog.set_comments(_( |
const std::string sComment = |
941 |
"Released under the GNU General Public License.\n" |
_("Built " __DATE__ "\nUsing ") + |
942 |
"\n" |
::gig::libraryName() + " " + ::gig::libraryVersion() + "\n\n" + |
943 |
"Please notice that this is still a very young instrument editor. " |
_( |
944 |
"So better backup your Gigasampler files before editing them with " |
"Gigedit is released under the GNU General Public License.\n" |
945 |
"this application.\n" |
"\n" |
946 |
"\n" |
"Please notice that this is still a very young instrument editor. " |
947 |
"Please report bugs to: http://bugs.linuxsampler.org") |
"So better backup your Gigasampler files before editing them with " |
948 |
); |
"this application.\n" |
949 |
|
"\n" |
950 |
|
"Please report bugs to: http://bugs.linuxsampler.org" |
951 |
|
); |
952 |
|
dialog.set_comments(sComment.c_str()); |
953 |
dialog.set_website("http://www.linuxsampler.org"); |
dialog.set_website("http://www.linuxsampler.org"); |
954 |
dialog.set_website_label("http://www.linuxsampler.org"); |
dialog.set_website_label("http://www.linuxsampler.org"); |
955 |
dialog.run(); |
dialog.run(); |
1628 |
&instrument, sizeof(instrument)) != SF_FALSE) |
&instrument, sizeof(instrument)) != SF_FALSE) |
1629 |
{ |
{ |
1630 |
sample->MIDIUnityNote = instrument.basenote; |
sample->MIDIUnityNote = instrument.basenote; |
1631 |
|
sample->FineTune = instrument.detune; |
1632 |
|
|
1633 |
if (instrument.loop_count && instrument.loops[0].mode != SF_LOOP_NONE) { |
if (instrument.loop_count && instrument.loops[0].mode != SF_LOOP_NONE) { |
1634 |
sample->Loops = 1; |
sample->Loops = 1; |