
Quick Links:
Empeg FAQ
|
RioCar.Org
|
Hijack
|
BigDisk Builder
|
jEmplode
|
emphatic
Repairs: Repairs
|
#271354 - 02/12/2005 18:40
Re: Hijack v444
[Re: tonyc]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14506
Loc: Canada
|
Quote: Hm.... Do you have any plans to add something to /proc (or perhaps just an ioctl) to retrieve the currently-tuned radio frequency?
No need --it's already available by reading the flash savearea (/dev/empeg_state). The FM tuner frequency is a 32-bit (little-endian) word at offset 0x14 (as I just discovered using the Hijack Show Flash Savearea feature).
For example, I am currently listening to FM 91.5 (CBC RadioOne), and the 32-bit word reads as 0x05742de0, which in base10 is 91500000.
Cheers
|
Top
|
|
|
|
|
|
|