forked from len0rd/rockbox
Convert to use common internal sample format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8681 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
153f906d74
commit
37a165d796
3 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef __ALAC__DECOMP_H
|
||||
#define __ALAC__DECOMP_H
|
||||
|
||||
/* Always output samples shifted to 28 bits */
|
||||
#define ALAC_OUTPUT_DEPTH 28
|
||||
/* Always output samples shifted to 28 bits + sign*/
|
||||
#define ALAC_OUTPUT_DEPTH 29
|
||||
#define SCALE16 (ALAC_OUTPUT_DEPTH - 16)
|
||||
#define ALAC_MAX_CHANNELS 2
|
||||
#define ALAC_BLOCKSIZE 4096 /* Number of samples per channel per block */
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#define MAX_BLOCKSIZE 4608 /* Maxsize in samples of one uncompressed frame */
|
||||
#define MAX_FRAMESIZE 32768 /* Maxsize in bytes of one compressed frame */
|
||||
|
||||
#define FLAC_OUTPUT_DEPTH 28 /* Provide samples left-shifted to 28-bits */
|
||||
#define FLAC_OUTPUT_DEPTH 29 /* Provide samples left-shifted to 28 bits+sign */
|
||||
|
||||
enum decorrelation_type {
|
||||
INDEPENDENT,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "bitstream.h"
|
||||
|
||||
#define SHN_OUTPUT_DEPTH 28
|
||||
#define SHN_OUTPUT_DEPTH 29 /* 28 bits + sign */
|
||||
|
||||
#define MAX_CHANNELS 2
|
||||
#define MAX_PRED_ORDER 16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue