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: Wayne Sherman <wayne_at_SystemDesignWorks.com>
Date: Tue, 17 Jun 2003 15:19:15 -0700

> 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
Received on 2003-06-18

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