Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: directsound for wincab?  (Read 3255 times)

0 Members and 1 Guest are viewing this topic.

tcslc

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:September 06, 2006, 10:40:36 pm
directsound for wincab?
« on: September 06, 2006, 07:20:48 pm »
Hello,

Just discovered Wincab, and it's a beauty.  One feature I'd love to see is the ability to choose, via Directsound, the output sound card (similar to WinAmp's DirectSound plugin).  The reason?  I'd like to run Wincab for parties, etc on my MAME cocktail, but when someone wants to play a game I can just minimize Wincab, keep it playing through the Lyra, boot MAME and have it play the game sounds through the cocktail cab's speakers. 

This all works when using Winamp, but the FE is nowhere as pretty or cool as Wincab's.

Other option is if someone knows how to choose the output soundcard in MAME - I know it uses Directsound, but I just can't find a switch (and unfortunately, I don't read code).

Thanks for listening!

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: directsound for wincab?
« Reply #1 on: September 06, 2006, 09:24:17 pm »
This is going to take some trial and error.

Edit jukebox.ini and at the end add the following:

[Sound]
digi_driver = DXB


DXA should represent the first DirectSound device, DBX is the second, DXC the third, etc.  I'm guessing DXB will be the card you want, but you'll have to poke around to find the right DirectSound device.

I don't actually have two sound cards installed, so I haven't actually tested this... please give it a shot and let me know if it works!

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

tcslc

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:September 06, 2006, 10:40:36 pm
Re: directsound for wincab?
« Reply #2 on: September 06, 2006, 10:40:36 pm »
Thanks Chris - you were so close, and sent me on the right path

The correct code (for my machine, anyway) is to modify the jukebox.ini as follows:

[Sound]
digi_card=DXB

Man, am I smiling ear to ear listening to the jukebox play from the home stereo and MAME from the cab speakers.  PERFECT!!  Thanks for a great piece of work Chris  ;D



Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: directsound for wincab?
« Reply #3 on: September 06, 2006, 10:44:37 pm »
Sorry, don't know why I always mess that one up!  I need to go back and make digi_driver a synonym for digi_card.... LOL
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com