Structs§
- OggOpus
Comments - OggOpus
Enc - Opus
EncCallbacks - 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