AudioCodecUninitialize(_:)
Moves the codec from the initialized state back to the uninitialized state.
Declaration
func AudioCodecUninitialize(_ inCodec: AudioCodec) -> OSStatusParameters
- inCodec:
An audio codec object. Because an audio codec object is a Component Manger component instance, you can use the Component Manager (for example, the functions 1516552 Findnextcomponent and OpenAComponent) to obtain an audio codec object.
Return Value
Returns NoErr if successful, otherwise, a result code. See Result Codes for a list of possible values.
Discussion
This function returns the codec to the uninitialized state. The codec may then be configured freely. This function does not flush the input buffer or clear input and output formats, magic cookie data, and other state variables. It is not necessary to call this function before closing the codec.