forked from len0rd/rockbox
libpcm: output depth corrects for the sign 1bit. linear pcm corrects bits shift.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25131 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c7517f5662
commit
2a9c42d1ed
7 changed files with 9 additions and 9 deletions
|
|
@ -57,7 +57,7 @@ enum codec_status codec_main(void)
|
|||
int offset = 0;
|
||||
|
||||
/* Generic codec initialisation */
|
||||
ci->configure(DSP_SET_SAMPLE_DEPTH, PCM_OUTPUT_DEPTH);
|
||||
ci->configure(DSP_SET_SAMPLE_DEPTH, PCM_OUTPUT_DEPTH-1);
|
||||
|
||||
next_track:
|
||||
if (codec_init()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue