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: RockBox and FM Recorder - Mono Setting?

Re: RockBox and FM Recorder - Mono Setting?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 18 Jun 2003 00:35:28 +0200

Wayne Sherman wrote:

>>Probably the appropriate bits need to be set in a call to
>>fmradio_set function in fmradio.c.
>
>
> Perhaps insert these lines in the radio_screen() function (radio.c) like this:
>
> val = fmradio_read(3) & !0x100000; //Clear Stereo Bit
> fmradio_set(3, val);

That is not correct. That bit is read only, to see if the stereo is
enabled. If you want to force mono mode in your experimental firmware,
change this line in radio_screen():

     fmradio_set(2, 0x140884); /* 5kHz, 7.2MHz crystal */

to:

     fmradio_set(2, 0x140880); /* 5kHz, 7.2MHz crystal */

This will disable the stereo mode.

Linus
Received on 2003-06-18

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