dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: pcm_set_frequency is ignored

Re: pcm_set_frequency is ignored

From: Joseph Garvin <>
Date: Sat, 30 Aug 2008 15:43:12 -0400

Followup: I tried calling pcm_apply_settings afterwards, but it makes no
difference. Also sound_set(SOUND_CHANNELS, SOUND_CHAN_MONO) (making the
sounds mono instead of stereo would also shrink them nicely) doesn't have
any effect.

On Sat, Aug 30, 2008 at 11:29 AM, Joseph Garvin <> wrote:

> To shrink my plugin size I'm trying to convert my sound samples to be
> 22050hz instead of 44100. But when I do this the sound always plays too fast
> like a chipmunk. I'm calling pcm_set_frequency(22050) but no matter what
> number I give it (I tested crazy values like 100) I get the same result. It
> always tries to play at 44100hz. I'm trying on the Sansa e200 simulator. Is
> this a limitation of the simulator or maybe of the e200? If so it'd be nice
> to get some sort of console warning.
Received on 2008-08-30

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