Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner


Reply
 
Share Thread Tools Display Modes
Old 07-10-2006, 03:01 AM   #1
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Multiple Soundcards - Volume Control...

I've just received my second souncard for the system, its a tiny little USB thing (only needed for headphones, so quality isnt a huge concern). I have tried setting RR to use soundcard 0, 1, 2, 3 and 4 but none of them will allow RR volume controls to adjust the USB soundcard's volume.

The music and audio from videos is playing through the correct soundcard (because I adjusted winamp and mcplayer to use the USB soundcard) but just volume control isnt working.

I am not able to change my systems default soundcard to the USB one because I am using the onboard sound for another RR instance.

Running muliple instances of RR is working great, I can have one song playing through the car and another song through the headphones (from USB soundcard). So the only thing not working with sound is the volume control.
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-10-2006, 07:08 AM   #2
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
just out of interest, are you running two screens? if so,. when running 2xroad runner, can you play two videos at the same time?
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 07-10-2006, 07:59 AM   #3
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
I will soon be running two screens, just waiting to see if I can get it to work before I invest in a VGA roof-mount screen. I have a composite video roof mount screen, and the interface looks acceptable from the TV-out on my board, but I'd still rather go with a VGA roof mount or head rest screens.

I havent been able to run two videos at the same time yet, but this is simply due to both RR instances trying to use the same video window. I will be testing with Zoom player on the second instance soon, let you know how I go.
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 07-10-2006, 08:06 AM   #4
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
sama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud ofsama has much to be proud of
nice one.
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 07-10-2006, 10:13 AM   #5
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Anyone have any ideas as to how to get RR to control my second sound card? I know...it hasnt even been a day since posting this topic. I just want to get this happening ASAP, got a long drive up to the snow ahead of me!
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 07-10-2006, 07:30 PM   #6
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
guino will become famous soon enoughguino will become famous soon enough
If the sound card setting is not working for you, it may just be because your USB card is placing the mixers together (speculation).. RR should try to list and enlist the cards as windows provides them.. I tested this with a Bluetooth Audio device and it worked.. never had a chance to try it with anything else..

Check the debug log when you're trying to use the usb card (should be =1), and see what it says.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 07-11-2006, 12:37 AM   #7
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
I think my USB soundcard is #2 (I also have a Bluetooth device installed which shows as a soundcard output). Although I have tried with =0, =1, =2, =3, =4, =5, =6, and they all still control the onboard soundcard.

Attached is my debug.txt file (which is identical no matter which soundcard setting is used - not sure if thats meant to be the case). I deleted a heap of lines which were just GPS data.

On a side note, is there any way to use an external video player (not DVD player) so that I can use Zoom Player for playing videos? ZP can be setup to run multiple instances with different window names if that helps? Maybe RR can be coded to support the free ZP as a video player option for people who want to run multiple instances.

EDIT: Also attached is my hw.txt file incase it helps. The USB device is the C-Media device near the bottom.
Attached Files
File Type: txt debug.txt (3.1 KB, 91 views)
File Type: txt hw.txt (11.1 KB, 2309 views)
__________________
Jarrod - Holden VX S!

Last edited by Jarrod; 07-11-2006 at 01:07 AM.
Jarrod is offline   Reply With Quote
Old 07-11-2006, 12:52 AM   #8
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Also, when running multiple instances of the video player, after hiding the controls (not moving the mouse) the controls are shown even if the mouse is moved on the second RR instance. Maybe the following line in frmMP.frm can be changed to only show the controls if the mouse moves over the current RR form position:
Code:
'If controls hidden, but moved cursor, show controls If Menus(IsLoaded("video_player.skin")).Visible = False And (SC = 0 Or SC = HideTime + 1) And lpos.x > 0 Then Maybe change to: 'If controls hidden, but moved cursor, show controls If Menus(IsLoaded("video_player.skin")).Visible = False And (SC = 0 Or SC = HideTime + 1) And (lpos.x > Me.Left And lpos.x < Me.Left + Me.Width) Then

There might be a few more code changes needed (such as the 'Count if Hasn't moved' code), but without being able to program with VB6 (coz I use VB.NET on my machine) I cant really test.
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-11-2006, 02:49 PM   #9
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
guino will become famous soon enoughguino will become famous soon enough
Have you tried to map the master volume to an audio line ?
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 07-12-2006, 02:07 AM   #10
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
All the audio lines are only lines of my onboard sound though. I tried "all lines" but that just controlled onboard sound. I also tried the "wave" line, but same thing.

Which line should I try? Is the audio line list meant to update depending on which soundcard you have selected?
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 07-12-2006, 11:13 AM   #11
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
guino will become famous soon enoughguino will become famous soon enough
Sorry, that's a limitation on RRConfig..

You should look at the audio lines at the debug file when choosing the soundcard number.. Then set it to the number of the audio line in order of appearance, you may also try a custom vol command with the audio line name "VOL+;WAVE" etc.. to see if it works on the second audio card -- but I imagined that controlling multiple cards was not going to be just that simple.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 07-12-2006, 05:19 PM   #12
Banned
 
JagPuter's Avatar
 
Join Date: Apr 2006
Location: My Garage
Posts: 128
JagPuter is on a distinguished road
I am trying the same thing and found that this idea worked the best.
I believe I am using the same USB sound card. Transparent green plastic, size of a memmory stick off ebay for about $10.00. I use it for rear audio, basically dvd only. I am also using a Bluetooth headset for voice control.

Go to your sounds and audio window under control panel. Select which ever sound card you want to be your default sound card. I use the USB sound card as the default. Then open winamp, go to the preferences menu and select the output selection. There you should find your USB sound card listed as C-Media (or what ever your driver is called for your USB sound card), you will also see Nullsoft output, direct sound output (this is your onboard sound card or default sound card) and wave out ouput.
Select your on board sound card and this will map all audio from winamp to your onboard sound card.
If you want to use you blue tooth head set as your microphone go back to sounds and audio window under control panel, select the voice tab and then select your default voice recording device. If you have the Voice SDK installed which I assume you do, there will be a few more configurations to make but it is pretty easy to figure out.
PowerDVD also has a configuration to map the audio to a certain device.
And that is how you can get specific devices to play in specific parts or your car simultaneously.
GOOD LUCK WITH THIS, it should work.
JagPuter is offline   Reply With Quote
Old 07-12-2006, 09:46 PM   #13
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
I have gotten winamp and MPC to play through the second sound card, I just can't get roadrunner to control the volume level of the USB soundcard.

Mine is transparent blue plastic, but yes, same card

I have my onboard sound set as default (so that windows sounds go through my stereo speakers), but I have tried setting the USB soundcard to default and still have the same problems (only now I cant get roadrunner to control the onboard sound).

BTW, I use direct sound output plugin for winamp, not wave out. You can choose which card it outputs on, and you get the nice fade effects when play/pausing a song.

Jag: Are you able to control the volume levels of both sound cards through roadrunner? If so, what roadrunner settings are you using?
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 07-12-2006, 10:57 PM   #14
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
The RRConfig only allows you to map a line to the default windows soundcard. Is there any way to make it show all lines of all soundcards?

Also, I noticed that in modMixer.bas the OpenMixer function redefines the SoundCard variable and doesnt set itself to any value, wouldn't this overwrite the rr.ini value and always use the first soundcard, 0 (zero) ?

Code:
Public Function OpenMixer() As Boolean Dim SoundCard As Double 'try to open the mixer 'if it can be opened, then the global hMixer variable will be set to it's handle If mixerOpen(hMixer, SoundCard, 0, 0, 0) = 0 Then OpenMixer = True 'life is grand, the mixer opened ReDim MixerState(0) End If 'Test VolTable 'ReDim VolTable(1, 2) 'VolTable(0, 0) = 6 'VolTable(1, 0) = 0.1 'VolTable(0, 1) = 11 'VolTable(1, 1) = 1 'VolTable(0, 2) = 100 'VolTable(1, 2) = 5 End Function

Then again, I could be way off....just want to get this to work so badly!
__________________
Jarrod - Holden VX S!

Last edited by Jarrod; 07-12-2006 at 11:01 PM.
Jarrod is offline   Reply With Quote
Old 07-13-2006, 06:01 AM   #15
Banned
 
JagPuter's Avatar
 
Join Date: Apr 2006
Location: My Garage
Posts: 128
JagPuter is on a distinguished road
To tell you the truth I havent even tried to control the volume. I basically "set and forget it".
JagPuter is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fader, Balance, Sub Volume Control w/o Headunit or EQ? The unL33T Input Devices 4 03-24-2009 03:23 PM
Roadie Volume Control tjp12100 FrodoPlayer 0 06-21-2006 04:30 PM
volume control JaxPt Software & Software Development 3 04-21-2005 07:44 PM
Volume control in Xenarc 700TSV BMW-7 LCD/Display 3 04-07-2005 12:08 AM
hardware volume control ODYSSEY General Hardware Discussion 18 04-20-2001 11:43 AM



All times are GMT -5. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics