/[svn]/gigedit/trunk/src/gigedit/mainwindow.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2464 by schoenebeck, Thu Sep 5 00:49:13 2013 UTC revision 2466 by schoenebeck, Thu Sep 5 03:02:48 2013 UTC
# Line 1624  void MainWindow::on_action_add_sample() Line 1624  void MainWindow::on_action_add_sample()
1624                                 &instrument, sizeof(instrument)) != SF_FALSE)                                 &instrument, sizeof(instrument)) != SF_FALSE)
1625                  {                  {
1626                      sample->MIDIUnityNote = instrument.basenote;                      sample->MIDIUnityNote = instrument.basenote;
1627                        sample->FineTune      = instrument.detune;
1628    
1629                      if (instrument.loop_count && instrument.loops[0].mode != SF_LOOP_NONE) {                      if (instrument.loop_count && instrument.loops[0].mode != SF_LOOP_NONE) {
1630                          sample->Loops = 1;                          sample->Loops = 1;

Legend:
Removed from v.2464  
changed lines
  Added in v.2466

  ViewVC Help
Powered by ViewVC