Multiple sound output streams?

Hi list. I've got a question about sound output. Specifically, when I do voicechat with things like iChat or Ventrilio, I want that to use my USB headphones for its audio output, even though I'm also listening to iTunes on my normal analog output.
Is it possible to use multiple output streams like this? And if not, why not?

Okay, never mind. I found it as a per-application preference. Silly me.

Similar Messages

  • Multiple sound outputs

    Hi... I'm not sure if I'm posting this in the correct section.. but here goes.
    I have purchased a small usb sound card for my macbook to set up as a secondary audio output for use with some dj software I have on my macbook Pro.
    I basically need the os to see two separate sound outputs on my system.
    I want to use the usb sound card as a secondary  output for a set of headphones that i want to use to preview tracks.
    I have done some research online and believe that it has something to do with setting up an aggregate device, but I can't seem to get the setup correct to make it work.
    Any assistance would be appreciated..

    Hi Lang23,
    If you go to the iLife Garageband Community, you will find the answer to your question there! That is the place where the sound fund's work!
    Kind regards
    Leo

  • Get multiple Input/Output Stream from same socket ?

    For a better express of my problem i will put my test example
    I have those 4 classes
    package test;
    import...
    public class ReaderExecutor extends Thread{
            private InputStream in = null;
            private static int defaultID = 0;
            private int ID = getID();
            public ReaderExecutor(InputStream in){
                this.in = in;
            public void run(){
                try {
                    int c ;
                    while ((c=in.read())!=-1)
                        System.out.println("ReaderThread " + this.ID + ":" + c);
                catch (IOException e) {
                    System.out.println("ReaderThread "+this.ID+" stopped !");
            private static int getID(){
                return defaultID++;
    package test;
    import...
    public class WriterExecuter extends Thread{
        OutputStream out = null;
        private static boolean odd = true;
        private boolean isOdd ;
        public WriterExecuter(OutputStream out) {
            this.out = out;
            isOdd = odd;
            odd = !odd;
        public void run(){
            try{
                for (int i = isOdd?1:2;i<10;i+=2){
                    System.err.println(i);
                    out.write(i);
            }catch(Exception e){
                System.out.println("WriterThread stopped !");
    package test;
    import...
    public class Main { 
        public Main() {
        public static void main(String[] args) throws Exception {
            try{
                ServerSocket ss = new ServerSocket(9090);
                System.out.println("Ascult ... ");
                Socket client = ss.accept();
                new ReaderExecutor(client.getInputStream()).start();
                //Thread.sleep(2000);
                new ReaderExecutor(client.getInputStream()).start();
            }catch (Exception e){
                e.printStackTrace();
    package test;
    import...
    public class Main1 {
        public Main1() {
        public static void main(String[] args) {
            try{
                Socket s = new Socket("localhost",9090);
                WriterExecuter t= null ;
                t = new WriterExecuter(s.getOutputStream());
                t.start();
                t = new WriterExecuter(s.getOutputStream());
                t.start();
            }catch(Exception e){
                e.printStackTrace();
    }Now if i run successive Main , Main1 i get this output
    Ascult ...
    ReaderThread 0:0
    ReaderThread 1:0
    ReaderThread 0:0
    ReaderThread 1:0
    ReaderThread 0:0
    ReaderThread 1:0
    ReaderThread 0:0
    ReaderThread 1:0
    ReaderThread 0:0
    ReaderThread 0 stopped !
    ReaderThread 1 stopped !The question is can i get other Input/Output individual streams with a separate logic functionality from the same socket?
    From this example it seems i can't :(
    Thx
    Alex

    For what you are trying to do the simplest solution is to have one socket per "stream" that is the way they are designed to be used.
    However, you can multiplex multiple stream over a single socket, but you have do the coding yourself or use a solution which does this for you e.g. JMS. (There is no support at the socket level for this)

  • Traktor Pro multiple sound outputs

    Hi everyone. I am in the process of setting up Traktor on my MBP.
    Can anyone confirm if i can route the main output to a bluetooth speaker AND have the headphone cue routed via the headphone jack? At the moment i can get the master output to the bluetooth speaker but no joy in getting the headphones output working...

    Create an aggregate device of your Built in and Firewire devices in AudioMidiSetup.
    Install JackOSX, set it's preference to your new aggregate driver, start the router, set AMS to use Jack for I/O, open an app to play your music and connect its output send channels to whatever system playback channels you want in Jack Connection manager.

  • How can I put an output stream (HTML) from a remote process on my JSF page

    Hello,
    I've a question if someone could help.
    I have a jsf application that need to execute some remote stuff on a different process (it is a SAS application). This remote process produces in output an html table that I want to display in my jsf page.
    So I use a socket SAS class for setting up a server socket in a separate thread. The primary use of this class is to setup a socket listener, submit a command to a remote process (such as SAS) to generate a data stream (such as HTML or graphics) back to the listening socket, and then write the contents of the stream back to the servlet stream.
    Now the problem is that I loose my jsf page at all. I need a suggestion if some one would help, to understand how can I use this html datastream without writing on my Servlet output stream.
    Thank you in advance
    A.
    Just if you want to look at the details .....
    // Create the remote model
    com.sas.sasserver.submit.SubmitInterface si =
    (com.sas.sasserver.submit.SubmitInterface)
    rocf.newInstance(com.sas.sasserver.submit.SubmitInterface.class, connection);
    // Create a work dataset
    String stmt = "data work.foo;input field1 $ field2 $;cards;\na b\nc d\n;run;";
    si.setProgramText(stmt);
    // Setup our socket listener and get the port that it is bound to
    com.sas.servlet.util.SocketListener socket =
    new com.sas.servlet.util.SocketListener();
    int port = socket.setup();
    socket.start();
    // Get the localhost name
    String localhost = (java.net.InetAddress.getLocalHost()).getHostAddress();
    stmt = "filename sock SOCKET '" + localhost + ":" + port + "';";
    si.setProgramText(stmt);
    // Setup the ods options
    stmt = "ods html body=sock style=brick;";
    si.setProgramText(stmt);
    // Print the dataset
    stmt = "proc print data=work.foo;run;";
    si.setProgramText(stmt);
    // Close
    stmt = "ods html close;run;";
    si.setProgramText(stmt);
    // get my output stream
    context = FacesContext.getCurrentInstance();
    HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse();
    ServletOutputStream out = response.getOutputStream();
    // Write the data from the socket to the response
    socket.write(out);
    // Close the socket listener
    socket.close();

    The system exec function is on the Communication palette. Its for executing system commands. On my Win2K system, the help for FTP is:
    "Ftp
    Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. Click ftp commands in the Related Topics list for a description of available ftp subcommands. This command is available only if the TCP/IP protocol has been installed. Ftp is a service, that, once started, creates a sub-environment in which you can use ftp commands, and from which you can return to the Windows 2000 command prompt by typing the quit subcommand. When the ftp sub-environment is running, it is indicated by the ftp command prompt.
    ftp [-v] [-n] [-i] [-d] [-g]
    [-s:filename] [-a] [-w:windowsize] [computer]
    Parameters
    -v
    Suppresses display of remote server responses.
    -n
    Suppresses autologin upon initial connection.
    -i
    Turns off interactive prompting during multiple file transfers.
    -d
    Enables debugging, displaying all ftp commands passed between the client and server.
    -g
    Disables file name globbing, which permits the use of wildcard characters (* and ?) in local file and path names. (See the glob command in the online Command Reference.)
    -s:filename
    Specifies a text file containing ftp commands; the commands automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>).
    -a
    Use any local interface when binding data connection.
    -w:windowsize
    Overrides the default transfer buffer size of 4096.
    computer
    Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last paramete
    r on the line."
    I use tftp all of the time to transfer files in a similar manner. Test the transfer from the Windows command line and copy it into a VI. Pass the command line to system exec and wait until it's done.

  • Assigning an application to different sound outputs

    Question: Is there a way to assign an application to use a sound output options in the mixer or another Win7 application?
    I have installed Win7 RC 32bit.  I have headphones and speaker outputs on my system.  Both are detected and both can be assigned to a working default sound choice.  I am unable to assign an applications sound output to a certain outputs or change them.
    The only way I can make a sound application work through the speakers if the headset is assigned the default role is to go into sound management, then assign the speakers to default and then restart my application.
    Desired: I would like an application profile to default to the assigned role from the mixer.  The settings could be permanent or temporary.  If the 1st choice is not available, use the alternate working or (default).  The sound should dynamically change or at the very least keep that profile with that application until changed.
    In the mixer, I should be able to rt click on the application in the mixer and manually assign it to a sound device.  This option should be assigned to a default target to play ONLY if the desired is not available.  Possible options can be, just one time, or have this device handle sound if available.
    Hardware:  Asus Rampage 2: Gene motherboard, 6GB Ram, GTX 275 graphics, Seagate 1.5TB.  Drivers auto discovered on install and appear to be functional.

    Hi TKCDAC,
    As you may noticed, great improvements have been made in Windows 7. Applications can realize Stream Routing via the new Core Audio APIs. Windows 7 has the ability to distinguish between communication devices and all other audio devices. It is now possible to have both a Default Communications Device that is separate from the Default Audio Device. The Default Communication Devices will be used for PC based communication like web chat or VOIP, and the Default Audio Device will be used for everything else. Stream switching enabled dynamic stream switching based on the default device. If the default audio device is disabled or unplugged, Windows automatically tries to determine the next default audio device and will dynamically redirect the audio to that new device.
    For instance, if you would like to play the audio via headphone when using communication applications such as Windows Live Messenger, we can simply right click the volume icon in the system tray, click Playback Devices, right click the headphone listed and then choose Set as default Communications Device.
    For more information, please refer to the following articles:
    http://msdn.microsoft.com/en-us/library/dd756612(VS.85).aspx
    http://louisgale.blogspot.com/2009/08/live-messenger-and-default.html
    Also, based on my test, certain application such as Windows Media Player has a sound output option. To change the settings, please open Windows Media Player, click Tools, Options, click Devices tab, double click Speakers in the Devices list, pull down the Select the audio device and then choose the device you would like to play the music from Windows Media Player, click OK. We may play another song in the play list to take effect.
    In the meantime, I will forward your suggestions to our Product Group. Please be assured that any improvements in the product are based on users' requirements.
    Thanks,
    Linda

  • Sound output to Airport Express horrible except through iTunes Airplay

    I've had an Airport Express for 2 or so months now, and I use it for both wifi routing as well as its Airplay functionality, wired into my stereo. I've used it with Airplay directly from iTunes as well as setting the system sound output on my Mac to go over to the Airport Express.
    As of today, only the Airplay over iTunes works without issue. When I go to the system sound preferences and select the Airport Express, I hear a very loud pop, and all output is muffled and highly distorted. If iTunes is playing, that sounds bad too.  However, with the system sound prefs set to internal speakers and ONLY iTunes set to Airplay, it sounds fine.  This is not good at all for me, as I often send audio from Youtube and other streaming sites to Airport Express to play on my stereo.
    How can I get sound output to Airport Express from the sound preferences to play nice again?
    PS, I have the identical issue with Apple TV, though I don't use it regularly for Airplay. System output to Apple TV is terrible, iTunes Airplay to it is fine, and the audio from content on Apple TV is fine.

    Is there any way to output any sound from a computer to Airport Express, not just iTunes?
    Yes, check out Rogue Amoeba's AirFoil.

  • Exception writing binary data to the output stream to client -Broken pipe

    Hi,
    I am trying to use the drag & drop feature using Contributor mode of Webcenter sites. Single Image Page Attribute is working properly where as Multiple Image Page Attribute throws the following error:
    [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.satellite.request] Exception writing binary data to the output stream to client 10.191.117.106
    java.net.SocketException: Broken pipe
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:568)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:539)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:427)
         at weblogic.servlet.internal.ChunkOutput$2.checkForFlush(ChunkOutput.java:648)
         at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:333)
         at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:148)
         at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:148)
         at COM.FutureTense.Servlet.ServletRequest$OutputOutputStream.write(ServletRequest.java:80)
         at COM.FutureTense.Servlet.ServletRequest.write(ServletRequest.java:1633)
         at com.openmarket.Satellite.RequestContext.write(RequestContext.java:1123)
         at com.openmarket.Satellite.BytePiece.stream(DataPiece.java:253)
         at com.openmarket.Satellite.CacheObjectImpl.stream(CacheObjectImpl.java:651)
         at com.openmarket.Satellite.Http11Responder.respondForWrapper(Http11Responder.java:142)
         at com.openmarket.Satellite.WrapperAwareResponder.respond(WrapperAwareResponder.java:36)
         at com.openmarket.Satellite.SatelliteServer.execute(SatelliteServer.java:85)
         at com.openmarket.Satellite.servlet.BaseServlet.doGet(BaseServlet.java:118)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:557)
         at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Thanks
    KarthiK

    Thank u very much,
         FileOutputStream opGif = new FileOutputStream(destFile, false);
    I have changed above line with the following line:
         PrintWriter opGif = new PrintWriter ( new FileWriter(destFile, false));
    and now this code is working very fine.
    Thanks once again...

  • Having problems choosing sound output through HDMI to my television, any one any ideas?

    Though listed in the sounds options, I can't seem to choose a sound output to my TV through HDMI. I have sound output to headphones via the headphone socket or usb, but when I highlight to the HDMI TV option it justs returns to the top of the list, any ideas anyone?

    About alsa dmix, and for the record:
    On an Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz, the following are my finding about
    quality/cpu when mixing two streams at 44khz:
    a snippet from my .asoundrc
    #converter "samplerate_best" # perfect: 16%cpu, maybe overkill
    #converter "samplerate_medium" # almost perfect: 6%cpu
    #converter "samplerate" # good: 4%cpu, definitely usable
    #converter "samplerate_linear" # bad: 2%cpu, way better than default wine resampler
    #converter "samplerate_order" # very bad: 2%cpu, like the default wine resampler
    Here is the reference topic: https://bbs.archlinux.org/viewtopic.php?pid=942724
    I may be wrong, but in an opensource world (code reusing), i really doubt pulseaudio could lead to better quality/cpuuse tradeoff.
    Pulseaudio, being just another layer atop of alsa, could only lead to higher cpu usage.
    Last edited by kokoko3k (2013-11-11 15:33:41)

  • Registers as HDMI sound output?

    Hi, I am using a Macbook Pro 13 in Retina. I have been using an HDMI cord to plug sound in, but after disconnecting the HDMI cord... my Mac still is registering the HDMI cord as the primary sound output?
    There is no sound even when I plug the HDMI cord now. I have restarted the computer multiple times. Help!

    Try starting in Safe Mode and resetting the SMC and PRAM
    OS X: What is Safe Boot, Safe Mode?
    Intel-based Macs: Resetting the System Management Controller (SMC)
    About NVRAM and PRAM
    This is the Mac Pro desktop forum. I requested your post be moved to the MacBook Pro laptop forum.

  • Httpurlconnection chunked output stream?

    Hi,
    I'm developing a client that interacts with a comet server (comet allows http connections to be used for multiple inputs and outputs on same connection -- not single request, single response). I've found that I can't use HttpURLConnection because it doesn't allow writing to its output stream after any input has been read from its input stream. It seems that httpURLConn.getInputStream() basically closes the output stream. Is there any way around this? Any way to write to an httpurlconnection's output stream after a read on its input has occurred?
    For now I have to resort to using raw sockets and dealing with headers and chunked encoding manually. I'd sure love an easier way...
    Thanks for any help,
    Peter

    Get a new HTTPURLConnection. Java will cache it behind the scenes to reuse the same TCP connection.

  • How to use Airport Express as a sound output device

    Guys,
    Is there a way that I can use Airport Express as a sound output device? So, I can play all the sound on my HIFI.
    thanks in advance

    In order to listen to the non-iTunes audio streams through your Airport Express you will need to use the third party software Airfoil.
    http://www.rogueamoeba.com/airfoil/
    iFelix

  • Capture audio output streams from other programs

    Hello,
    Is is possible to record an output stream generated by another program?
    O the output stream thats going to the speakers ?
    Thanks in advance

    You can record the "System mixer" if your sound card has a loopback. If you can select "System mixer" as the recording device in your sound properties, then you can record the output of another program. If you can't, then you can't...

  • System sound output switchery

    Hi everybody,
    I'm having a very strange problem that I haven't figured out how to reproduce just yet but thought I'd give it a try on the forums anyway...
    The problem is that the system sound output in the audio prefernce pane seems to be randomly* switching from "Digital Out" to the next one in line, my bluetooth headset. So, if my headset is turned off I get all kinds of "error connecting to bluetooth device" messages and if it's on, the battery drains quickly from connecting and disconnecting all the time. I should mention that Digital out is working beautifully; it's just that I'm getting these bluetooth errors all the time as something is switching the audio out from "Digital Out" to my headset.
    *I'm sure there's a cause, but I haven't been able to put my finger on it just yet.
    Sorry I can't be more specific at this time...
    Cheers,
    Ryan

    OK, I've found that the problem only occurs when watching a movie in dolby digital (VLC or DVD Player) and a sound is played in iTunes or an event happens such as receiving an IM. This is beginning to make sense to me as the receiver after all is receiving a dolby digital signal, and wouldn't be able to play a stereo stream while it has its hands full with the dolby digital. (I guess? Correct me if I'm wrong... anyway the receiver LED can only display stereo or digital, not both at once!)
    So my question becomes, how to stop OS X from directing these sounds to my bluetooth headset. There must be a way just to turn off all other sounds while I'm watching a movie in 5.1 or send them to /dev/null or something, anything other than repeatedly connecting/disconnecting with my headset or displaying annoying warning messages.

  • Apple TV status light dead & no video/sound output

    After our move I hooked my entertainment center up and the Apple TV is dead.  The status light won't illuminate even after plugging in.  It will not respond to the remote as the status light does not respond.  There is no video or sound output.  I did a "restore" in iTunes (it recognized it so I know it "exists") but it is still unresponsive.  I am working with known good cables and hardware.  The only sign of "life" in the Apple TV is that I can see a red light eminating from the back of the unit around the optic audio port.  There are no network lights (if there are any). 
    Thanks for your help,
    Ben

    Philly - I think you are confusing the Digital AV Adapter with something else.  It is for use only with TV's and other video displays that have HDMI ports - not those that don't.   Per Apple in their info on this device:  "Watch slideshows and movies on the big screen in up to 720p by connecting your iPad, iPhone 4, or iPod touch (4th generation) to an HDTV or HDMI-compatible display."
    http://store.apple.com/us/product/MC953ZM/A  
    http://www.apple.com/ipad/features/mirroring.html
    As I said before, I've not tried this adapter, so I don't know if its ability to mirror the iPad's screen is somehow blocked by the HBO Go app.  As Demo indicated, it seems like the app may be blocked this way as well.  Personaly, I don't need to this as I have HBO and Cinemax On Demand through my cable supplier on all televisions in my home.  I might try it when I visit relatives who have Internet access but not HBO.  If so, I'll report back my experience.
    In regard to why Apple TV does not support HBO Go, some additional research seems to suggest HBO may not like the level of content security provided by Airplay.  Interestingly, while Apple TV can't stream it to a large screen, HBO Go is now available for use on televisions through the new Roku box --  provided one has an HBO subscription through a cable or satellite provider.  There is still no way to get HBO other than through an authorized cable or satellite service.

Maybe you are looking for