mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-27 03:50:29 +00:00
gsm610.c : Make sure SF_FORMAT_WAVEX are handled correctly.
This commit is contained in:
parent
efd5b23767
commit
e5ce14d960
@ -6,6 +6,9 @@
|
||||
* src/file_io.c
|
||||
Add comments documenting the three sections of the file.
|
||||
|
||||
* src/gsm610.c
|
||||
Make sure SF_FORMAT_WAVEX are handled correctly.
|
||||
|
||||
2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* configure.ac
|
||||
|
@ -100,6 +100,7 @@ Need separate gsm_data structs for encode and decode.
|
||||
return SFE_MALLOC_FAILED ;
|
||||
|
||||
if ((psf->sf.format & SF_FORMAT_TYPEMASK) == SF_FORMAT_WAV ||
|
||||
(psf->sf.format & SF_FORMAT_TYPEMASK) == SF_FORMAT_WAVEX ||
|
||||
(psf->sf.format & SF_FORMAT_TYPEMASK) == SF_FORMAT_W64)
|
||||
{ gsm_option (pgsm610->gsm_data, GSM_OPT_WAV49, &true_flag) ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user