Files
RobustToolbox/native/symbols/vorbis.txt
PJB3005 539d0563b8 "Add vorbis" she said. "It'll be easy"
Yeah so this adds libogg, libvorbis, and libopus to the Rust library on the client. This is intended for use by the client soon-ish to replace .NET ogg vorbis implementations and add opus support.

This turns out to be a huge pain thanks to https://github.com/rust-lang/rfcs/issues/2771 . To solve this I ended up compiling the projects as staticlib and creating a build.py script to invoke the linker. This sucks a *lot* and I have yet to write the linker invocations for Linux/Windows, but it's probably the best option we have.
2026-01-04 04:16:20 +01:00

37 lines
809 B
Plaintext

vorbis_info_init
vorbis_info_clear
vorbis_info_blocksize
vorbis_comment_init
vorbis_comment_add
vorbis_comment_add_tag
vorbis_comment_query
vorbis_comment_query_count
vorbis_comment_clear
vorbis_block_init
vorbis_block_clear
vorbis_dsp_clear
vorbis_granule_time
vorbis_version_string
vorbis_analysis_init
vorbis_commentheader_out
vorbis_analysis_headerout
vorbis_analysis_buffer
vorbis_analysis_wrote
vorbis_analysis_blockout
vorbis_analysis
vorbis_bitrate_addblock
vorbis_bitrate_flushpacket
vorbis_synthesis_idheader
vorbis_synthesis_headerin
vorbis_synthesis_init
vorbis_synthesis_restart
vorbis_synthesis
vorbis_synthesis_trackonly
vorbis_synthesis_blockin
vorbis_synthesis_pcmout
vorbis_synthesis_lapout
vorbis_synthesis_read
vorbis_packet_blocksize
vorbis_synthesis_halfrate
vorbis_synthesis_halfrate_p