Changeset 563:3fe83012ebc6 in roaraudio
- Timestamp:
- 08/18/08 22:08:12 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/file.c
r558 r563 18 18 } else if ( strncmp(buf, "MThd", 4) == 0 ) { 19 19 codec = ROAR_CODEC_MIDI_FILE; 20 } else if ( strncmp(buf, "RIFF", 4) == 0 ) { 21 if ( len > 15 ) { 22 if ( strncmp(buf+8, "WAVEfmt ", 8) == 0 ) 23 codec = ROAR_CODEC_RIFF_WAVE; 24 } 20 25 } 21 26 }
Note: See TracChangeset
for help on using the changeset viewer.