- Add
Stream.terminate
- Fix build error with OCaml
4.14
- Use
caml_alloc_custom_mem
for packet allocations (#2348)
- Added decoder API for audio big array.
- Switch to
dune
- Revert back to autoconf (See: savonet/liquidsoap#1378)
- Switch to read callbacks with bytes in Ogg.Sync.
- Fix compilation with OCaml 4.06
- Install .cmx files
- Removed old Ogg.Stream backward compatibility functions.
- Switch to Bytes API.
- Added optional fill parameter to [get_page] to try to limit ogg logical pages size.
- Added Ogg.Internal_error exception.
- Updated configure.
- New Ogg_demuxer.End_of_stream exception, raised at the end of logical streams. The former incorrect behavior was to raise Ogg.End_of_stream, which is intended to signify the end of data.
- Added [Ogg_demuxer] module to decode ogg streams.
- Added the following functions:
- [Sync.sync]
- [Stream.{peek_granulepos, skip_packet, packet_granulepos}]
- Fixed incorrect mention of INRIA in license headers.
- Raise Out_of_sync in Sync.read when data is not synced, e.g. ogg_sync_pageout returned -1.
- Removed sync reference in Stream.get_packet and actually raise Out_of_sync exception. No packet should be returned when the stream is out of sync.
- Added support for --enable-debugging configure option
- Added NO_CUSTOM to build in standard mode.
- Added prefix to main compilation variables if passed to configure.
- Makefile now honnors LIBDIRS variable for linking against libraries located in other places than then standard ones.
- Added file descriptor to Ogg.Sync.create_from_file in order to be able to close it and let the Gc clean everything..
- Added Ogg.Stream.eos
- Added Ogg.Stream.peek_packet to peek a packet without advancing the stream. Usefull to test first packet when parsing ogg streams.
- More portable invokation of make
- Now installs .cmx file
- Reworked API, added more functions.
- Binding is now ready to decode theora and multiplexed streams
- Compatibility functions are available, old code should compile on the new API
- Cleared out license headers. Now using LGPL + linking exception Acked-by: smimram
- Initial release