Playing back 2 devices at the same time.

Discussion in 'Off Topic' started by PreDominance, Jul 31, 2010.

  1. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Alright well, my friend and I like to watch Family guy, Zero Punctuation, Futurama, etc, on the computer. Problem; my little brother is very..impressionable.

    I have 2 headsets; is it possible to get Audio on both of them at the same time?
     
  2. RKB53

    RKB53 Member

    Messages:
    861
    Likes Received:
    0
    Trophy Points:
    0
  3. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Anything that I can do this weekend? Preferably within an hour. I already figured an audio splitter would work.
     
  4. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Incidentally, one's a USB, so an audio splitter wouldn't work.
     
  5. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    You might be able if you use something like vlc and mpc hc at the same time, set one to use one sound device and the other program the other one and then just hide one window. Its hacky but it should work.
     
  6. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Is there any way to do that in Firefox?
     
  7. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Cant find anything, you could just download the youtube videos with jdownloader or something like that.
     
  8. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Get headphones.

    1 person gets the left.
    The other gets the right.
     
  9. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Not. Gay.

    *Edit

    Ohh, you mean earbuds. Yeah, we're not smashing heads inbetween a headset.
     
  10. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    for i = 1,100 do
    print("Ha")
    i++
    end
     
  11. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Procedure NevarScript
    i :int

    procedure Nevar
    begin
    i = 9001;
    repeat
    writeLn('Nevar');
    i = i - 1;
    until(i = 0);
    end;

    begin
    Nevar;
    end.


    Unfortunately SCAR doesn't count much as a scripting language. The next one I look into is Java.
     
  12. rampantandroid

    rampantandroid Member

    Messages:
    2,664
    Likes Received:
    0
    Trophy Points:
    0
    Windows, afaik, does not support multiple devices outputting audio at the same time. Your USB headset is acting as a DAC and thus appears as a device, as does your regular sound card. You can toggle (what windows outputs audio to), but that is all. Unless there is SOME way of bypassing the Windows limitation - which there might be, a simple test in C++ or C# would work (see if you can output a stream to multiple devices, bypassing the Windows abstraction layer - interface with the MDD or PDD layer directly and send it packets) but unless some media player exists that can handle that, the answer, in software, is no.

    Now...you can cheat this. Splice into the output of the USB headphones - there IS an analog signal going to the woofers, find it and cut your earbuds into it...but that's all, short of just buying another set of analog headphones. Or close the door to your room and keep your bro out?

    Edit:

    http://rampantandroid.com/Gallery/main.php?g2_view=core.DownloadItem&g2_itemId=254&g2_serialNumber=1

    You CAN use VLC to do this...however, this means running TWO media players, and running one at the primary output, and the other to your USB headset...thus you run into syncronization issues.
     
    Last edited: Aug 2, 2010
  13. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Splicing into a new $35 headset? Yeah, m'dad would kill me.

    It's alright. We just wait until all the parents leave then blast ZP/FG/RvB as loud as we want.
     
  14. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    get firefox and ie

    go to sound options, advanced or something then just set each program to use a different output (usb headphones and normal headphones works great here)

    watch crap online

    trade headphones untill you have the one with the sound you desire
     
  15. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Can't select audio output in Firefox.
     
  16. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Run two vms, and add a different sound device to each one.
     
  17. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    you have to do it on the OS level dummy :)
     
  18. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Looked already :C
     
  19. rampantandroid

    rampantandroid Member

    Messages:
    2,664
    Likes Received:
    0
    Trophy Points:
    0
    Had you actually stopped to read my post, you would have realized this isn't possible. You can break audio output into two brackets: Those that just play audio streams via Windows, and allow Windows to handle to audio mixing (insert Mac OS or Linux here) and those that use a more direct route, bypassing Windows and allowing the software to enumerate all devices and pick which one to send data packets to.

    DirectX is one such way to do this, as DirectX can in fact pick which device to send packets to. However, IE, Firefox...all browsers out there have no reason to use DirectX/DShow/D3D/D2D...they instead go the simple route and use the OS APIs that exist.

    In short: You CAN'T do it at the OS level in Windows, and I imagine, Mac OS. Mucking about in ALSA or something MIGHT enable it in Linux, but I doubt it....certainly nothing that is overly simple or user friendly.
     
  20. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    that's weird since i do it sometimes in windows 7 and if you keep nagging and bitching i might post a tutorial about how to do it
     

Share This Page