2 (c) Copyright 1998-2000 - Tord Jansson
3 ======================================
5 This file is part of the BladeEnc MP3 Encoder, based on
6 ISO's reference code for MPEG Layer 3 compression.
8 This file doesn't contain any of the ISO reference code and
9 is copyright Tord Jansson (tord.jansson@swipnet.se).
11 BladeEnc is free software; you can redistribute this file
12 and/or modify it under the terms of the GNU Lesser General Public
13 License as published by the Free Software Foundation; either
14 version 2.1 of the License, or (at your option) any later version.
18 ------------ CHANGES ------------
20 2000-12-10 Andre Piotrowski
34 int frequency
; /* 48000, 44100 and 32000 allowed. */
35 int mode
; /* 0 = Stereo, 2 = Dual Channel, 3 = Mono */
37 int emphasis
; /* 0 = None, 1 = 50/15 microsec, 3 = CCITT J.17 */
53 extern CodecInitOut
*codecInit (CodecInitIn
*psInitData
);
55 extern unsigned int codecEncodeChunk (int nSamples
, short *pSamples
, char *pOutput
);
57 extern unsigned int codecExit (char *pOutput
);
59 extern unsigned int codecFlush (char *pOutput
);
65 #endif /* __CODEC__ */