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



Rockbox mail archive

Subject: Re: Questions about PortalPlayer based architectures and PDBox

Re: Questions about PortalPlayer based architectures and PDBox

From: Rafaël Carré <rafael.carre_at_gmail.com>
Date: Mon, 5 Jul 2010 02:09:06 +0200

On Mon, 05 Jul 2010 01:41:35 +0200
Wincent Balin <wincent.balin_at_gmail.com> wrote:

> Is it possible to run sound output on PortalPlayer based targets with
> sampling frequency of 22050 Hz? Or at least 32000 Hz?

Yes, grep for "SAMPR" in the model specific config files in
firmware/export/config to see which models support which frequencies.

All the plugins should not have any model specific code but instead
depend on the features:
        HAVE_RECORDING
        HW_SAMPR_CAPS & SAMPR_CAP_44
        HAVE_LCD_BITMAP
etc...

> And if so, how can it be specified in pdbox.h?

Did you try to use pcm_set_frequency() to change the playback
frequency ?

BTW I think the simulator is hardwired to 44.1kHz (feel free to correct
me)

-- 
Rafaël Carré
Received on 2010-07-05

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy