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: Wayne Sherman (wayne_at_SystemDesignWorks.com)
Date: 2003-06-18


> 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);

(my C is a little rusty, but I think the syntax is correct)

I guessed on this based on the code to read the stereo bit here:

        val = fmradio_read(3);
        stereo = (val & 0x100000)?true:false;
        snprintf(buf, 128, "Mode: %s", stereo?"Stereo":"Mono");

I would like to confirm with a datasheet though.

Wayne



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