Creates a new decoder state. Each stream needs its own decoder state (can't
be shared across simultaneous streams).
@param mode Contains all the information about the characteristics of the
stream (must be the same characteristics as used for the encoder)
@param channels Number of channels
@param error Returns an error code
@return Newly created decoder state.
Creates a new decoder state. Each stream needs its own decoder state (can't be shared across simultaneous streams). @param mode Contains all the information about the characteristics of the stream (must be the same characteristics as used for the encoder) @param channels Number of channels @param error Returns an error code @return Newly created decoder state.