Author Topic: VC volume setting in windows  (Read 3701 times)

0 Members and 1 Guest are viewing this topic.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: VC volume setting in windows
« Reply #15 on: February 27, 2014, 07:10:49 PM »
No I don't think it is possible.  Since WMC is a MEDIA program it should be possible to tell it which audio output to use, so you can set the default output to the one you want your star trek sounds on and then tell WMC to use another output.  But I wouldn't be at all surprised if WMC did not let you do this.

Another option would be to find a little command line utility that can play a wav on a specific audio output and use Launch.

AgileHumor

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: VC volume setting in windows
« Reply #16 on: February 27, 2014, 07:23:52 PM »
Sadly WMC always uses the default audio device.

So it would be finding a command line hack to play a wave file on the TTS USB Audio device as you mentioned...or for your app to play wav's to a specific sound device if it ever becomes easy/apparent.

Thanks sir!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: VC volume setting in windows
« Reply #17 on: February 27, 2014, 07:42:04 PM »
I don't think it will happen in VC any time soon, but you never know.

VAC could probably help you with this issue as well.

AgileHumor

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: VC volume setting in windows
« Reply #18 on: February 27, 2014, 08:22:08 PM »
May I ask what .net class you call to play wav files?

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: VC volume setting in windows
« Reply #19 on: February 27, 2014, 08:44:50 PM »
The program does not use .Net to play wav files.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: VC volume setting in windows
« Reply #20 on: February 27, 2014, 10:35:08 PM »
If you know of a reliable .net method to play wavs which allows targeting a specific audio endpoint I'd be happy to take a look at it.  I think I'm currently using a win32 call to coreaudio because the .net method I tried was not reliable enough.

AgileHumor

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: VC volume setting in windows
« Reply #21 on: February 28, 2014, 12:36:08 AM »
Well your right....i thought it would be adding an additional variable.

Basically, you would need to use DirectShow as described in this post.
http://www.xtremevbtalk.com/showpost.php?s=c39f8b0a522d60e3191e2852e2171a83&p=1361505&postcount=18

Sounds like a lot of work to make this "simple" change.  Anyway, thanks for listening.