The number of channels is now set when creating the states rather than when
creating the mode. This means that the same mode can be shared for mono and stereo.
This commit is contained in:
parent
bf2398b049
commit
80ed147663
11 changed files with 76 additions and 76 deletions
|
@ -56,7 +56,7 @@ typedef struct {
|
|||
} CELTHeader;
|
||||
|
||||
/** Creates a basic header struct */
|
||||
EXPORT int celt_header_init(CELTHeader *header, const CELTMode *m);
|
||||
EXPORT int celt_header_init(CELTHeader *header, const CELTMode *m, int channels);
|
||||
|
||||
EXPORT int celt_header_to_packet(const CELTHeader *header, unsigned char *packet, celt_uint32_t size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue