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?
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2003-06-18


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



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