|
Rockbox mail archiveSubject: Re: Questions about PortalPlayer based architectures and PDBoxRe: Questions about PortalPlayer based architectures and PDBox
From: Wincent Balin <wincent.balin_at_gmail.com>
Date: Mon, 05 Jul 2010 03:09:46 +0200 Am 05.07.2010 02:09, schrieb Rafaël Carré: > 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... Thank you very much! The (HW_SAMPR_CAPS & SAMPR_CAP_44) is really what I have saught. >> And if so, how can it be specified in pdbox.h? > Did you try to use pcm_set_frequency() to change the playback > frequency ? Indeed, I used pcm_set_frequency() to set the output frequency. > BTW I think the simulator is hardwired to 44.1kHz (feel free to correct > me) The H300 simulator does play the sound with sampling frequency of 22050 Hz correctly. Sincerely yours, Wincent Balin Received on 2010-07-05 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |