MSN Audio support
This is essentially a MS GSM decoder extension that supports more sampling rates and lower bitrates. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
56d061ce9d
commit
a16577d985
@@ -22,10 +22,24 @@
|
||||
#define AVCODEC_GSM_H
|
||||
|
||||
/* bytes per block */
|
||||
#define GSM_BLOCK_SIZE 33
|
||||
#define GSM_MS_BLOCK_SIZE 65
|
||||
#define GSM_BLOCK_SIZE 33
|
||||
#define GSM_MS_BLOCK_SIZE 65
|
||||
#define MSN_MIN_BLOCK_SIZE 41
|
||||
|
||||
/* samples per block */
|
||||
#define GSM_FRAME_SIZE 160
|
||||
|
||||
enum GSMModes {
|
||||
GSM_13000 = 0,
|
||||
MSN_12400,
|
||||
MSN_11800,
|
||||
MSN_11200,
|
||||
MSN_10600,
|
||||
MSN_10000,
|
||||
MSN_9400,
|
||||
MSN_8800,
|
||||
MSN_8200,
|
||||
NUM_GSM_MODES
|
||||
};
|
||||
|
||||
#endif /* AVCODEC_GSM_H */
|
||||
|
||||
Reference in New Issue
Block a user