Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: PCM CODEC

Re: PCM CODEC

From: Jens Arnold <arnold-j_at_t-online.de>
Date: 2006-03-26

On 26.03.2006, Bluechip wrote:

> - Read parameters from WAV file. Plays 16bit PCM WAV files
> with all common samplerates, both mono and stereo.

> Because I'm too lazy to look at the codec docs. Why only
> 16bit? Is it a codec limitation? If so, could we pad 8bit
> files and strip 24bit files?

Yes it's a limitation of the PCM codec. It can handle 8000/
11025/12000/16000/22050/24000/32000/44100/48000 Hz both
mono and stereo, but only 16 bit samples.

I won't work around that limitation in my WAV playback plugin.
It only uses a simplistic playback engine and is meant as a
'preview' for PCM playback.

With a more sophisticated playback engine, introducing the
concept of (simple) software codecs, it will be possible to play
8 bit samples as well as simple compression schemes like ADPCM.

This is clearly post-3.0 stuff, and I won't spend any more work
on that before the playback engines (hopefully) get unified.

Regards, Jens
Received on Sun Mar 26 23:15:51 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa