digital-car.co.uk    

Go Back   digital-car.co.uk > Software > CarPC Software

Notices

Reply
 
Thread Tools Display Modes
Old 29-06-2008, 05:51 PM   #1
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
RR Plugin for Silabs/ADS Tuner

This is a new plugin for RR to support the revised USBRadio.dll (merged dual tuner and direct sound, versions 0.2 onwards, see here http://code.google.com/p/silabsradiodll/downloads/list). Afraid the skin isn't too pretty but aesthetics are not my thing. Provides fairly basic functionality at the moment because that's all I use, if there are other features you would like let me know.

The functionality of the plugin is basically a copy of the ICERadio features with a few additions. It supports EON on single or dual tuners, automatically switches to radio during TAs (if enabled) and allows the volume during TAs to be set. It also remembers whether the radio or media were playing when RR closed and starts up the same way and displays the station name in the TRACKNAME label while the radio is playing. It integrates with Freefone by automatically muting during a call and un-muting afterwards, and hooks into the Next, Prev, Play, Stop commands that are on the Freefone RR screen (again only while the radio is playing).

The plugin is stand alone, it does not rely on any of the inbuilt RR radio functions. The radio type in RRConfig should be set to Radiator to disable RR's radio functions.

Final feature is a programmable delay (via the 'Radio Init Delay' key in the ini file) which slows the initialisation of the tuner. On my car PC with EWF and minlogon I found that RR was coming up before the tuner enumeration had completed and so the plugin didn't find them. I've found a delay of 500ms fixes this.

Regarding direct sound, I use FFDShow which seems to avoid glitches in the playback stream. Have found that if you start RR from a registry key it loads before FFDShow is available and you get no sound, To fix this start RR from the startup folder on the start menu. Thinking about this it may also avoid the need for the delay

Edit : changing RR start up from registry key to startup folder fixes the enumeration problem as well so the delay value in the ini file should be set to 0.

And finally thanks to Spidermunz for provided the VB plugin source code that I started from when writing this.
Attached Images
File Type: jpg SRADIO_ON.jpg (97.5 KB, 152 views)
File Type: jpg SRADIO_OFF.jpg (84.5 KB, 70 views)
File Type: jpg SRADIO_DOWN.jpg (91.2 KB, 68 views)
Attached Files
File Type: zip SilabsDT_DLL (without skins) 0.4.zip (26.6 KB, 72 views)

Last edited by Pete; 29-06-2008 at 08:14 PM.
Pete is offline   Reply With Quote
Old 02-07-2008, 09:47 PM   #2
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
New version of the plugin attached. This fixes a bug in Rev0.4 where on resuming from hibernation the radio un-muted whether it should have been playing or not.
Attached Files
File Type: zip SilabsDT_DLL (without skins) 0.5.zip (26.6 KB, 61 views)
Pete is offline   Reply With Quote
Old 08-07-2008, 12:27 PM   #3
Sinobi
Senior Member
 
Join Date: Oct 2007
Location: Assens, Denmark
Posts: 108
Sinobi is on a distinguished road
I think you might have a bug concerning indicators for "radio_preset_5-10".
Radio_preset_1-4 indicators works correct, but indicators 5-10 does not work.
Else than that, your plugin works great.
Have you kept the FM I-III switching function, and is it on the FM button?

Henrik
Sinobi is offline   Reply With Quote
Old 08-07-2008, 12:32 PM   #4
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
Quote:
Originally Posted by Sinobi View Post
I think you might have a bug concerning indicators for "radio_preset_5-10".
Radio_preset_1-4 indicators works correct, but indicators 5-10 does not work.
Else than that, your plugin works great.
Have you kept the FM I-III switching function, and is it on the FM button?

Henrik
Hmm... they work on mine, will have another look later although may be a day or so as the PC is in bts at the moment. Are you using my skin file or one of your own?. The FM1-III is still there on the FM button, it also remembers which set it was last on.

Think I may add some EON stuff onto the presets too, shouldn'y be too difficult and would improve the usability (at the moment if the AF retunes it doesn't indicate which preset it's on).
Pete is offline   Reply With Quote
Old 08-07-2008, 12:48 PM   #5
Sinobi
Senior Member
 
Join Date: Oct 2007
Location: Assens, Denmark
Posts: 108
Sinobi is on a distinguished road
I'm using my E36 modified skin, the one I shared in the siLABS RADIO PLUGIN thread over on the dark side.
But I've modified it to match your plugin functions.
I have double checked spelling of the indicator preset calls in my skin and they are 100% like the ones in your skin
(exept for the x,y,x1,y1 of cause)

Edit: The buttons for preset 5-10 works, it's just the indicator part of the function that doesn't.

Henrik

Last edited by Sinobi; 08-07-2008 at 01:07 PM.
Sinobi is offline   Reply With Quote
Old 08-07-2008, 01:21 PM   #6
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
Could you let me have a copy of your skin file and the jpegs so that I can try to reproduce the problem?
Pete is offline   Reply With Quote
Old 08-07-2008, 01:26 PM   #7
Sinobi
Senior Member
 
Join Date: Oct 2007
Location: Assens, Denmark
Posts: 108
Sinobi is on a distinguished road
http://www.sinobi.dk/henrik/diverse/SRADIO.zip

Henrik
Sinobi is offline   Reply With Quote
Old 08-07-2008, 01:38 PM   #8
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
Very nice looking skin, may use it myself if you've no objection

Will have a look for the bug this evening.
Pete is offline   Reply With Quote
Old 08-07-2008, 01:50 PM   #9
Sinobi
Senior Member
 
Join Date: Oct 2007
Location: Assens, Denmark
Posts: 108
Sinobi is on a distinguished road
For some strange reason, the 9 and 10 preset indicator works now.
But 5-8 still doesn't work.
I'm sure that on the first few runs, 9 and 10 also didn't work...

Use the skin as much as you like.
Almost the intire skin is work by others, just modified by me.
When the few problems gets sorted out I'll share the PSD as well.
BTW. just tried the FM band I-III function......can't get it to work....

Henrik

Last edited by Sinobi; 08-07-2008 at 01:52 PM.
Sinobi is offline   Reply With Quote
Old 08-07-2008, 02:16 PM   #10
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
Just given it a quick test and it looks OK here, could you let me have a copy of your silabsdt.ini file in case there is a problem in there.
Pete is offline   Reply With Quote
Old 08-07-2008, 04:57 PM   #11
Sinobi
Senior Member
 
Join Date: Oct 2007
Location: Assens, Denmark
Posts: 108
Sinobi is on a distinguished road
I'm on nightshift today,
so the silabsdt.ini file will have to wait untill tomorrow.
As it looks OK at your pc, I'm thinking this may be something to do with the RR version.
I'm running the latest RR beta. It seems to be quite buggy...

Henrik
Sinobi is offline   Reply With Quote
Old 08-07-2008, 05:56 PM   #12
leeharper1
Senior Member
 
Join Date: Oct 2006
Location: Northampton
Posts: 230
leeharper1 is on a distinguished road
Quote:
Originally Posted by Pete View Post
Just given it a quick test and it looks OK here, could you let me have a copy of your silabsdt.ini file in case there is a problem in there.

just tried it down the car cant get the stations to save put them in manually through the silabsdt settings.
__________________
Athlon sempron 3000, 1gb ram, 120gb hard drive, m2atx 160w power supply, haicom hi-204usb gps mouse,Centrafuse.
leeharper1 is offline   Reply With Quote
Old 08-07-2008, 05:57 PM   #13
leeharper1
Senior Member
 
Join Date: Oct 2006
Location: Northampton
Posts: 230
leeharper1 is on a distinguished road
also is there any way to get theese to work with the freedom skin
__________________
Athlon sempron 3000, 1gb ram, 120gb hard drive, m2atx 160w power supply, haicom hi-204usb gps mouse,Centrafuse.
leeharper1 is offline   Reply With Quote
Old 08-07-2008, 08:23 PM   #14
Pete
Senior Member
 
Join Date: Jan 2008
Location: UK
Posts: 615
Pete is on a distinguished road
The way the presets should work is you hit the mem button and then hit the preset you want to save into, is that what you mean by manually or did you edit the silabsdt.ini file? When I coded this I didn't know about the RR hold down to save presets feature, if I had I would have used that instead - maybe in the next revision.

Never used the freedom skin, will have a look and see what would be involved

Edit : Can't seem to find anywhere to download the freedom skin so afraid there is not much I can do on that at the moment

Last edited by Pete; 08-07-2008 at 09:16 PM.
Pete is offline   Reply With Quote
Old 08-07-2008, 09:42 PM   #15
leeharper1
Senior Member
 
Join Date: Oct 2006
Location: Northampton
Posts: 230
leeharper1 is on a distinguished road
Quote:
Originally Posted by Pete View Post
The way the presets should work is you hit the mem button and then hit the preset you want to save into, is that what you mean by manually or did you edit the silabsdt.ini file? When I coded this I didn't know about the RR hold down to save presets feature, if I had I would have used that instead - maybe in the next revision.

Never used the freedom skin, will have a look and see what would be involved

Edit : Can't seem to find anywhere to download the freedom skin so afraid there is not much I can do on that at the moment

sorry mate i meant ultimate lol ive seny u a link
__________________
Athlon sempron 3000, 1gb ram, 120gb hard drive, m2atx 160w power supply, haicom hi-204usb gps mouse,Centrafuse.
leeharper1 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2010 Digital Car