Commit Graph

11 Commits

Author SHA1 Message Date
evpobr
dc1c8c2492 sndfile.h: Fix (really) get/set bitrate commands values 2021-07-17 09:48:43 +05:00
evpobr
3ef35eea25 sndfile.h: Fix get/set bitrate commands values
Numeric values of SFC_GET_BITRATE_MODE and SFC_SET_BITRATE_MODE commands
matched the values ​​of commands SFC_SET_OGG_PAGE_LATENCY_MS and
SFC_SET_OGG_PAGE_LATENCY.
2021-07-09 14:38:24 +05:00
Arthur Taylor
dae19b9502 Rename SF_FORMAT_MP3 to SF_FORMAT_MPEG 2021-03-25 10:26:15 -07:00
Arthur Taylor
663a59aa6e mpeg: Add MPEG Encode, Decode and Tests
Use SF_FORMAT_MP3 major and SF_FORMAT_MPEG_LAYER_(I|II|III) subformats.
2021-03-25 10:26:15 -07:00
evpobr
d11a64c7c4 Deprecate ENABLE_SNDFILE_WINDOWS_PROTOTYPES define
Use standard `_WIN32` define instead. Any sane compiler on Windows
platfrom defines `_WIN32`.

The `wpath` parameter type has been changed to an equivalent type that
does not require the inclusion of the `windows.h` header.
2021-02-18 16:56:34 +05:00
evpobr
2db6a8fd2e Change SNDFILE type to be a typedef of a real struct
For developers it is typedef to the actual `sf_private_tag` struct now.

For users it is still opaque type (no API break).
2021-02-14 18:34:16 +05:00
SmiVan
5cb3faf69b Marked unimplemented dither enums in the header file as such. 2021-01-24 21:47:57 +05:00
evpobr
4a253ba0dc Update documentaton links 2020-10-05 12:21:19 +05:00
evpobr
317a16a12f src/sndfile.h.in: SF_COUNT_MAX define tweaks
* Drop special condition for VC <= 2003
* Fix SF_COUNT_MAX redefine in config.h
2020-09-10 13:23:39 +05:00
Gisle Vanem
fe9971fa28 [Win32] Fix for MSVC
* A `_MSCVER` ha never been a built-in for the MSVC compiler.
* Simply use the same `SF_COUNT_MAX` for all MSVC compilers.
2020-09-10 12:22:51 +05:00
evpobr
acfcd147da Move public headers to include directory 2020-08-26 11:59:26 +05:00