/[svn]/linuxsampler/trunk/src/engines/sfz/sfz.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/sfz/sfz.cpp

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

revision 3053 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC
# Line 1059  namespace sfz Line 1059  namespace sfz
1059    
1060      void File::parseFile(std::string file, SampleManager* pSampleManager){      void File::parseFile(std::string file, SampleManager* pSampleManager){
1061          enum token_type_t { HEADER, OPCODE };          enum token_type_t { HEADER, OPCODE };
1062          token_type_t token_type;          token_type_t token_type = (token_type_t) -1;
1063          std::string token_string;          std::string token_string;
1064    
1065          std::ifstream fs(file.c_str());          std::ifstream fs(file.c_str());
# Line 1430  namespace sfz Line 1430  namespace sfz
1430              {              {
1431              case CONTROL:              case CONTROL:
1432                  default_path = value;                  default_path = value;
1433                    break;
1434                default:
1435                    ; // noop
1436              }              }
1437              return;              return;
1438          }          }
# Line 1439  namespace sfz Line 1442  namespace sfz
1442              {              {
1443              case CONTROL:              case CONTROL:
1444                  octave_offset = ToInt(value);                  octave_offset = ToInt(value);
1445                    break;
1446                default:
1447                    ; // noop
1448              }              }
1449              return;              return;
1450          }          }
# Line 1448  namespace sfz Line 1454  namespace sfz
1454              {              {
1455              case CONTROL:              case CONTROL:
1456                  note_offset = ToInt(value);                  note_offset = ToInt(value);
1457                    break;
1458                default:
1459                    ; // noop
1460              }              }
1461              return;              return;
1462          }          }

Legend:
Removed from v.3053  
changed lines
  Added in v.3054

  ViewVC Help
Powered by ViewVC