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:
Jean-Marc Valin 2009-10-15 21:45:32 -04:00
parent bf2398b049
commit 80ed147663
11 changed files with 76 additions and 76 deletions

View file

@ -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);