mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
This commit is contained in:
parent
82d7696b7a
commit
36d5cf97f9
@ -1,3 +1,8 @@
|
||||
2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/wav_w64.c
|
||||
Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
|
||||
|
||||
2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/Makefile.am
|
||||
|
@ -285,7 +285,7 @@ wav_w64_read_fmt_chunk (SF_PRIVATE *psf, WAV_FMT *wav_fmt, int structsize)
|
||||
psf_log_printf (psf, " format : ms adpcm\n") ;
|
||||
}
|
||||
else if (wavex_write_guid_equal (&wav_fmt->ext.esf, &MSGUID_SUBTYPE_IEEE_FLOAT)
|
||||
|| wavex_write_guid_equal (&wav_fmt->ext.esf, &MSGUID_SUBTYPE_AMBISONIC_B_FORMAT_PCM))
|
||||
|| wavex_write_guid_equal (&wav_fmt->ext.esf, &MSGUID_SUBTYPE_AMBISONIC_B_FORMAT_IEEE_FLOAT))
|
||||
{ psf->sf.format = SF_FORMAT_WAVEX | ((psf->bytewidth == 8) ? SF_FORMAT_DOUBLE : SF_FORMAT_FLOAT) ;
|
||||
psf_log_printf (psf, " format : IEEE float\n") ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user