Centrafuse Carputer, CarPC & UMPC Forums

Go Back   Centrafuse Carputer, CarPC & UMPC Forums > 3rd Party Development > Plugin Development

Plugin Development Extend the functionality of Centrafuse by developing plugins


Reply
 
LinkBack (9) Thread Tools Display Modes
Old January 24th, 2007, 12:14 PM   #11 (permalink)
7 Farad - Super Capacity
 
Join Date: Oct 2006
Location: Pavia (Italy)
Posts: 109
AL9001 is on a distinguished road
Quote:
When the GUI is first launched, it begins by looking for a USB FM Radio device. Once a device is found, it is
opened up as a USB Audio Device for audio streaming and as a HID device for FM Tuner control. In addition, the
default WAV output device is opened to playback the audio stream.
Audio Stream—The host application uses a circular buffer of 20 32 kB blocks to accept audio from the USB FM
Radio device. Initially, 19 of the buffers are filled with audio data. Next, this data is sent to the WAV output device,
and as streaming continues, pointers to the first free block and first playable block are incremented around the
circular buffer to provide a constant and seamless flow of audio
This is from radio's manual.... It create a USB sound card, via HID it controls tuning and others.

Bye,
AL
AL9001 is offline   Reply With Quote
Old January 24th, 2007, 02:14 PM   #12 (permalink)
Administrator
David's CarPC Specs
 
David's Avatar
 
Join Date: Oct 2004
Location: Atlanta, GA
Posts: 5,012
David has disabled reputation
Quote:
Originally Posted by AL9001 View Post
This is from radio's manual.... It create a USB sound card, via HID it controls tuning and others.

Bye,
AL
you need to find a way to mute this audio device...

david
David is offline   Reply With Quote
Old January 26th, 2007, 08:39 AM   #13 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Sep 2006
Location: Istanbul, Turkey
Posts: 16
liquefact
Send a message via MSN to liquefact
Quote:
Originally Posted by AL9001 View Post
This is from radio's manual.... It create a USB sound card, via HID it controls tuning and others.

Bye,
AL
I want to summarize what i understood from this;

How radiator works?

A.
1. Silabs Audio Device (virtual) is created to get the audio from USB Radio.
2. Silabs HID device is created to control USB Radio by Radiator (11).
3. As both input and output channels are open, the audio coming from USB Audio Device is routed automatically by Default Audio Device (2).

B.
1. Silabs Audio Device (virtual) is created to get the audio from USB Radio.
2. Silabs HID device is created to control USB Radio by Radiator (11).
3. Radiator DLL and Radiator fetches the audio stream (1) and routes it to default playback channel (3).

How Centrafuse works with Radiator:

1. Centrafuse creates Radiator (10).
2. Radiator fetches the audio stream (1) and routes it to Centrafuse (4).
3. Centrafuse closes Radiator wave output (2 or 3 depending on the answer of "How Radiator Works?" question) and playbacks the radio audio by Default Audio Device (5).

If A is true and the audio is carried by using line (2), how shall i mute it as on the Default Audio Device output channels page, the "USB Line In" is not listed? The Silabs Application that i downloaded from web site has a volume control on it but it controls Default Audio Device Wave Out. So if you mute Radio, you mute everything that is played on the system.

Is my understanding right? Especially the underlined sentence. If yes, there is no way to mute the line (2) as there is no "Usb Audio Line In" channel in the output channels. So i guess there are two ways for a solution.

1. Modify Radio plugin of Centrafuse so that there will be an option to not buffer and playback the sound (cancel route 5), so that the audio will be played back by (2) or (3). The recording (buffering) of radio is not important for me, and i've never used it till now.
2. In the Radiator DLL of Silabs, paths (2) or (3) will be muted somehow, yet i have no idea how to do that. But i'm examining the code.
3. Create an application using this DLL and embed it into CF.
4. Create a CF plugin that uses this DLL but does not have recording feature.

I'm looking for your opinions.

Thanks.
Attached Images
File Type: jpg Radiator&CF Schema.jpg (13.9 KB, 470 views)
Highslide JS

Last edited by liquefact; January 26th, 2007 at 08:42 AM.
liquefact is offline   Reply With Quote
Old January 26th, 2007, 11:37 AM   #14 (permalink)
Administrator
David's CarPC Specs
 
David's Avatar
 
Join Date: Oct 2004
Location: Atlanta, GA
Posts: 5,012
David has disabled reputation
Quote:
Originally Posted by liquefact View Post
I want to summarize what i understood from this;

How radiator works?

A.
1. Silabs Audio Device (virtual) is created to get the audio from USB Radio.
2. Silabs HID device is created to control USB Radio by Radiator (11).
3. As both input and output channels are open, the audio coming from USB Audio Device is routed automatically by Default Audio Device (2).

B.
1. Silabs Audio Device (virtual) is created to get the audio from USB Radio.
2. Silabs HID device is created to control USB Radio by Radiator (11).
3. Radiator DLL and Radiator fetches the audio stream (1) and routes it to default playback channel (3).

How Centrafuse works with Radiator:

1. Centrafuse creates Radiator (10).
2. Radiator fetches the audio stream (1) and routes it to Centrafuse (4).
3. Centrafuse closes Radiator wave output (2 or 3 depending on the answer of "How Radiator Works?" question) and playbacks the radio audio by Default Audio Device (5).

If A is true and the audio is carried by using line (2), how shall i mute it as on the Default Audio Device output channels page, the "USB Line In" is not listed? The Silabs Application that i downloaded from web site has a volume control on it but it controls Default Audio Device Wave Out. So if you mute Radio, you mute everything that is played on the system.

Is my understanding right? Especially the underlined sentence. If yes, there is no way to mute the line (2) as there is no "Usb Audio Line In" channel in the output channels. So i guess there are two ways for a solution.

1. Modify Radio plugin of Centrafuse so that there will be an option to not buffer and playback the sound (cancel route 5), so that the audio will be played back by (2) or (3). The recording (buffering) of radio is not important for me, and i've never used it till now.
2. In the Radiator DLL of Silabs, paths (2) or (3) will be muted somehow, yet i have no idea how to do that. But i'm examining the code.
3. Create an application using this DLL and embed it into CF.
4. Create a CF plugin that uses this DLL but does not have recording feature.

I'm looking for your opinions.

Thanks.
Set no line input as none when setting up radio and it should not try to buffer anything, but still allow control of the radio...

david
David is offline   Reply With Quote
Old January 27th, 2007, 09:17 AM   #15 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Sep 2006
Location: Istanbul, Turkey
Posts: 16
liquefact
Send a message via MSN to liquefact
Quote:
Originally Posted by David View Post
Set no line input as none when setting up radio and it should not try to buffer anything, but still allow control of the radio...

david
This didn't work David. Is there any other way in CF to disable buffering? Can you make buffering and recording an option and set it on by default, so that users of Silabs can turn it off?
liquefact is offline   Reply With Quote
Old January 27th, 2007, 04:16 PM   #16 (permalink)
Administrator
David's CarPC Specs
 
David's Avatar
 
Join Date: Oct 2004
Location: Atlanta, GA
Posts: 5,012
David has disabled reputation
I will make it an option...

david
David is offline   Reply With Quote
Old January 28th, 2007, 08:18 AM   #17 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Sep 2006
Location: Istanbul, Turkey
Posts: 16
liquefact
Send a message via MSN to liquefact
Thank you David.
liquefact is offline   Reply With Quote
Old March 16th, 2007, 04:05 AM   #18 (permalink)
7 Farad - Super Capacity
 
Join Date: Jan 2007
Posts: 123
AndreD is on a distinguished road
what's the status here ?
- will/does this device work with CF now ?
AndreD is offline   Reply With Quote
Old March 16th, 2007, 01:19 PM   #19 (permalink)
Administrator
David's CarPC Specs
 
David's Avatar
 
Join Date: Oct 2004
Location: Atlanta, GA
Posts: 5,012
David has disabled reputation
not currently... the next radio that will be added is the HQCT, then I plan to look into this radio...

david
David is offline   Reply With Quote
Old March 25th, 2007, 09:01 AM   #20 (permalink)
1 Farad - Avg. Capacity
 
Join Date: Mar 2007
Posts: 15
zumka is on a distinguished road
HI guys there is the problem with silabs usb radio and latest CF when radio buffer option is selected I can hear echo, when buffer is off then there is no echo but radio would not start automatically after CF restart and visualization is not working. Muting line in doesn't change anything.
zumka is offline   Reply With Quote
Reply

Bookmarks

Tags
aplugin, make, radio, rds, silabs, usb

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
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forums.fluxmedia.net/plugin-development/893-please-make-aplugin-silabs-fm-rds-usb-radio.html
Posted By For Type Date
Какое радио у вас? - Страница 2 - PCCar.ru - Ваш автомобильный компьютер This thread Refback November 12th, 2008 04:24 PM
SiLabs USB FM radio - PCCar.ru - Ваш автомобильный компьютер This thread Refback October 25th, 2008 07:14 AM
SiLabs USB FM radio - PCCar.ru - Ваш автомобильный компьютер This thread Refback August 30th, 2008 03:25 PM
PCCar.ru - Ваш автомобильный компьютер - Какое радио у вас? This thread Refback August 7th, 2008 05:35 AM
Support for Silabs USB radio - digital-car.co.uk This thread Refback July 27th, 2008 06:18 PM
Support for Silabs radio. - MP3Car.com This thread Refback July 17th, 2008 12:30 PM
SiLabs USB FM radio - PCCar.ru - Ваш автомобильный компьютер This thread Refback July 7th, 2008 10:49 AM
Support for Silabs USB radio - digital-car.co.uk This thread Refback July 3rd, 2008 09:16 AM
SiLabs USB FM radio - PCCar.ru - Ваш автомобильный компьютер This thread Refback July 1st, 2008 05:39 AM



All times are GMT -4. The time now is 11:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009 Flux Media, Inc. All rights reserved.Ad Management plugin by RedTyger