Am 05.07.2010 02:09, schrieb Rafaël Carré:
> On Mon, 05 Jul 2010 01:41:35 +0200
> Wincent Balin <[email protected]> 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