Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.

This commit is contained in:
Erik de Castro Lopo 2006-10-17 19:33:53 +00:00
parent 82d7696b7a
commit 36d5cf97f9
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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") ;
}