Rockbox mail archiveSubject: 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
(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.
Received on 2003-06-18