Crate libopusenc_static_sys

Source

Structs§

OggOpusComments
OggOpusEnc
OpusEncCallbacks
Callback functions for accessing the stream.

Constants§

OPE_ALLOC_FAIL
OPE_API_VERSION
OPE_BAD_ARG
OPE_CANNOT_OPEN
OPE_CLOSE_FAIL
OPE_GET_COMMENT_PADDING_REQUEST
OPE_GET_DECISION_DELAY_REQUEST
OPE_GET_HEADER_GAIN_REQUEST
OPE_GET_MUXING_DELAY_REQUEST
OPE_GET_NB_COUPLED_STREAMS_REQUEST
OPE_GET_NB_STREAMS_REQUEST
OPE_GET_SERIALNO_REQUEST
OPE_INTERNAL_ERROR
OPE_INVALID_ICON
OPE_INVALID_PICTURE
OPE_OK
OPE_SET_COMMENT_PADDING_REQUEST
OPE_SET_DECISION_DELAY_REQUEST
OPE_SET_HEADER_GAIN_REQUEST
OPE_SET_MUXING_DELAY_REQUEST
OPE_SET_PACKET_CALLBACK_REQUEST
OPE_SET_SERIALNO_REQUEST
OPE_TOO_LATE
OPE_UNIMPLEMENTED
OPE_WRITE_FAIL

Functions§

ope_comments_add
Add a comment.
ope_comments_add_picture
Add a picture from a file.
ope_comments_add_picture_from_memory
Add a picture already in memory.
ope_comments_add_string
Add a comment as a single tag=value string.
ope_comments_copy
Create a deep copy of a comments object.
ope_comments_create
Create a new comments object.
ope_comments_destroy
Destroys a comments object.
ope_encoder_chain_current
Ends the stream and create a new stream within the same file.
ope_encoder_continue_new_callbacks
Ends the stream and create a new file (callback-based).
ope_encoder_continue_new_file
Ends the stream and create a new file.
ope_encoder_create_callbacks
Create a new OggOpus stream to be handled using callbacks
ope_encoder_create_file
Create a new OggOpus file.
ope_encoder_create_pull
Create a new OggOpus stream to be used along with.ope_encoder_get_page(). This is mostly useful for muxing with other streams.
ope_encoder_ctl
Sets encoder options.
ope_encoder_deferred_init_with_mapping
Deferred initialization of the encoder to force an explicit channel mapping. This can be used to override the default channel coupling, but using it for regular surround will almost certainly lead to worse quality.
ope_encoder_destroy
Deallocates the obect. Make sure to ope_drain() first.
ope_encoder_drain
Finalizes the stream, but does not deallocate the object.
ope_encoder_flush_header
Write out the header now rather than wait for audio to begin.
ope_encoder_get_page
Get the next page from the stream (only if using ope_encoder_create_pull()).
ope_encoder_write
Add/encode any number of 16-bit linear samples to the stream.
ope_encoder_write_float
Add/encode any number of float samples to the stream.
ope_get_abi_version
ABI version for this header. Can be used to check for features at run time.
ope_get_version_string
Returns a string representing the version of libopusenc being used at run time.
ope_strerror
Converts a libopusenc error code into a human readable string.

Type Aliases§

ope_close_func
Called for closing a stream.
ope_packet_func
Called on every packet encoded (including header).
ope_write_func
Called for writing a page.
opus_int16
opus_int32
opus_uint32