mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
src/aiff.c : Apply a fix from Axel Roebel where if the second loop in the instrument chunk is none, the loop mode is written into the first loop.
This commit is contained in:
parent
1d68c20ccc
commit
2641541953
@ -1,3 +1,9 @@
|
||||
2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/aiff.c
|
||||
Apply a fix from Axel Roebel where if the second loop in the instrument
|
||||
chunk is none, the loop mode is written into the first loop.
|
||||
|
||||
2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/test_float.c src/test_main.(c|h) src/Makefile.am
|
||||
|
@ -729,7 +729,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
|
||||
loop_mode = get_loop_mode_str (mode) ;
|
||||
mode = get_loop_mode (mode) ;
|
||||
if (mode == SF_LOOP_NONE)
|
||||
psf->instrument->loops [0].mode = SF_LOOP_NONE ;
|
||||
psf->instrument->loops [1].mode = SF_LOOP_NONE ;
|
||||
else
|
||||
{ psf->instrument->loop_count += 1 ;
|
||||
psf->instrument->loops [1].mode = SF_LOOP_FORWARD ;
|
||||
|
Loading…
Reference in New Issue
Block a user