Pacman is too fast?

To be honest, i never thought i speed was going to be a problem.
i usually update my system at work but each time i try to update it, our connection slows down to a crawl. i don't mind, but my co-workers (... and my boss) do. pacman doesn't seem to provide a '-t' option (at least, it's not in the man page). is there anyway i can slow down pacman?
thanks

cactus wrote:
Pierre wrote:Maybe you should talkt to the netadmin, too. Normally your router should care about a fair bandwith management.
Network/system admins generally don't like doing things that are 'one-off', especially something which users can certainly manage themselves. At least..none of the ones that I know or work with.
the connection i'm using isn't "official". i'm using my boss's personal router (with permission of course) which the admins have no control over. furthermore, i'm guessing that the router is connected directly to the root of our network since the normal network has all sorts of security filters whereas the router i'm connecting to is only protected by a simple passphrase. MAJOR security hole i know, but he's the boss.
the bottom line: i can update my system fast.. assuming i get up early

Similar Messages

  • Start sudden failure: f1 respawning too fast

    Hi,
    Till yesterday I had a fully working and updated  Arch_X86_64/KDE  system (inc. pacman 4.0.1-4).
    This morning I've tried a full upgrade (pacman -Syu) and:
    1. Initially found dependency problems related to (as far as I remember) to one of the gcc libraries. (I removed that library and proceedeed upgrading)
    2. A lot of missing or unstrusted. I've run the init key, yet the problem continues.
    I decided to reboot intending to rerun pacman -Syu afterwards.
    However my system won't boot anymore. It complains as follows:
    1. can't open (no such file) libstdc++.so.6
    2. "INIT: Id "f1" respawning too fast: disabled for 5 minutes."
    That's it.
    Please advise how to restore full functionality?
    Thanks

    Please disable signature checking, at least for now. And you shouldn't face the problem. Read the news here:
    http://www.archlinux.org/news/pacman-4-moves-to-core/
    In fact it's disabled in the default pacman.conf, so you must've enabled it yourself. Disable it and proceed to upgrade the system.

  • Fsck.ext3 a little too fast, what's best way make sure nothing lost?

    Short of reinstalling, what are the easiest measures I can take to make sure what I can guarentee is not corrupted is not corrupted? I am going to resync pacman and reinstall everything on my system, but is there anything else I can do? I went through that fsck.ext3 a LITTLE too fast (the system refused to boot until I did it) and now fear something important might have been written. There *are* two files in lostandfound, though I'm not quite sure what to do with them. I guess I'm just a little concerned. All *seems* to be well but...... yeah.
    I think I found at least one thing that is corrupt... cd! When you put cd <path that doesn't exist> it spits out weird symbols instead of the usual error message:
    megini / $ cd De
    bash: cd: De: Τ褦ʥեǥ쥯ȥϤޤ
    Is that a part of coreutils?
    Last edited by violagirl23 (2008-06-18 07:14:12)

    fsck doesn't normally do a full check on ext3 unless the filesystem is due a check either according to the time since the last check or the mount count, however you can force a check by using the -f option.
    I would only bother reinstalling packages if I had a good reason to think their files were corrupted, e.g. weird errors like the one with the cd command, complaints about missing file or files from a package turning up in lost+found.  All packages will reinstalled sooner or later anyway when the packages get updated.
    That file from lost+found looks like the pacman depends files for xine-ui, so you could just move it back to /var/lib/pacman/local/xine-ui-<version>/depends where <version> is the version you have installed on your system.
    Oh, and "which cd" doesn't return a result for a file, so I think carlocci is right about it being a bash built-in.

  • I ran Advance System Care 3 Disk Optimizer program and now my drop down menus are too fast. How do I slow them down

    I ran Advanced System Care3 disk optimizer program on my computer and now the drop down menus in Firefox open too fast. Mostly in the Bookmarks menu with nested folders. I went into the registry and changed all the "MenuShowDelay" data values back to 400(which were changed to 200 by the program. All the other windows programs drop down menus went back to the original speeds and are fine. Firefox did not change back to it's original delay speed. Where is the registry entry or configuration file for Firefox? How can I slow the menu down?
    Thanks,
    Tony

    I ran Advanced System Care3 disk optimizer program on my computer and now the drop down menus in Firefox open too fast. Mostly in the Bookmarks menu with nested folders. I went into the registry and changed all the "MenuShowDelay" data values back to 400(which were changed to 200 by the program. All the other windows programs drop down menus went back to the original speeds and are fine. Firefox did not change back to it's original delay speed. Where is the registry entry or configuration file for Firefox? How can I slow the menu down?
    Thanks,
    Tony

  • Recording iSight Video plays back too fast in Adobe Presenter/Office 2010?

    Adobe E-Learning Suite 2.5 installed over Microsoft Office 2010 Home and Student
    Running Presenter within PowerPoint detects and records using iSight. But the Playback is too fast, chipmonk like.
    Perhaps its an FLV codecs issue.
    Running Bootcamp 3.2 Software on Windows XP SP3 on an Intel iMac Core 2 Duo 2GHz 1,5GB Ram

    Hello,
    Do you mean that when you see the video inside Video Creator, slide 10 appears for a split second and then jumps to slide-11?
    Can you record the same scenario in diagnostic mode and send us the logs.
    Follow these steps -
    1. Close Video creator if it is already opened
    2. In Windows > Programs > look for "Troubleshoot Adobe Presenter Video Creator"
    3. Launch the same and record the exact same steps
    4. Stop recording > Ensure that the issue has been reproduced.
    5. Close the application.
    6. While closing, it will prompt you to send us an email with collected log reports.
    Kindly send the logs. We will go through it and get back to you.
    It will also be great if you can send us the presentation in which the issue is reproducible.
    Regards,
    Mukul

  • How should I debug a PVM that is crashing & rebooting too fast ?

    I have a newly created oel4u6 PVM that appears to be starting but then crashing & rebooting too fast and I don't know how to best debug it. The vm is a P2V'ed oel4u6 HP Blade that successfully boots as a HVM but I can't seem to get it to fully start as a PVM (I have several clones that I am working with to contrast/compare).
    I can't seem to get the console to start fast enough to show me anything useful as the crash is within seconds.
    I likely can flip the VM back to HVMPV mode or HVM and boot to the original kernel but if I boot to another kernel I am not sure what files in the VM (if any) may give any insight on the failed starts/crashed.*
    Anyone have any ideas/recommendations on how to debug this?*
    The message from xend.log is:
    [2013-03-31 07:45:32 3273] WARNING (XendDomainInfo:2131) Domain has crashed: name=0004fb0000060000b0d58463f621a2a3 id=37.
    [2013-03-31 07:45:32 3273] ERROR (XendDomainInfo:2265) VM 0004fb0000060000b0d58463f621a2a3 restarting too fast (Elapsed time: 1.654993 seconds). Refusing to restart to avoid loops.
    [2013-03-31 07:45:32 3273] ...
    More details as to the specific HVM kernel & PVM kernel & the process I used to get the PVM to at least get to load grub are in this thread looking for a good step-by-step guide on the recommended process:
    Good guide to convert oel4 hvm to pvm on OVM 3.2.1 ?

    Choose Utilities from the Finder's Go menu, open the AppleScript Editor, and run:
    do shell script "mv '/System/Library/oldname' '/System/Library/newname'" with administrator privileges
    (126015)

  • Can't burn disc via iTunes. Burn speed too fast. AGAIN!

    "iTunes can't burn this CD because the burn speed is too fast for your CD burner or media. Choose a lower speed in the burning pane of iTunes Preferences then try burning again".
    I have been having on going problems burning CD’s in iTunes for YEARS, and I know I am not the only one. I get the error message above. Having checked the forum at the time, and posted for help, I am know there is no real solution except to change brand of disc.
    Thing is, now I can’t get ANY brands to work. I’ve been through Verbatim, Maxell, JVC, Sony, but none work. The only brand that would work were TDK audios which I can no longer find anywhere.
    I know its not the burner, as Toast works fine, and I know I am not alone. Anyone got any ideas?
    Even after years Apple seem to be blanking this question. It’s very frustrating not being able to burn my purchased itunes downloads to disc.

    To anyone who is interested I think I may have found a possible solution. When you put a blank disc in the drive, wait about 30-60 seconds or so for it to stop spinning before burning.
    This seems to work. It's a bit sticky but eventually works. I tried both TDK & Maxwell discs and 9 out of 11 worked. Absolutely no reason why the other 2 didn't, but it's a lot better than none.

  • DVD drive spinning far too fast on Equium

    I have a problem with my DVD disc drive spinning far too fast to me. I have Windows XP on my Toshiba Equium laptop.
    I haven't found any way to set CD / DVD spin speed.
    I don't know if there is any, but I have used such feature in an other computer, and I would really much like to slow down the speed.
    The problem with speed is not malfunction.
    I don't face the problem with DVD:s, but the drive is too effective with CD:s, its literally too powerful.
    The speed and noise are insane. If I touch the computer or the table where computer is, the shaking hurts my hands.
    It's like a motor saw, and also sounds a bit loud.
    I can't hear the game I play while CD is spinning.
    I wonder the sturdy construction of my computer, while it's still not broken.

    Hello
    I don't know which notebook model do you have but Toshiba has designed small tool for such purposes. It is acoustic silencer. When you watch DVD movei or when you listen music CD you can switch into silent mode and you will not hear that DVD drive works.
    Visit Toshiba support page and check if this tool is available for your notebook model too.
    Bye

  • Why would my video clips be running too fast when played on the monitor panel?

    I posted my problem earlier today, but re-reading it maybe I didn't explain myself well enough.
    My main question is: "why would my video clips be running too fast when played on the monitor panel ?".  This is occuring after I have selected my media from the Tasks Panel and placed them in correct order in the Timeline/Sceneline.  I knew something was wrong when I could see that the clips were not indicating their right length when viewed in the (expanded) timeline.  They were compressed into just a few seconds, whereas the clips should have been at least 5 minutes.  I ran the clips in the monitor and sure enough they ran too fast, with a lot of jerking movements.
    The 3 video clips I am trying to make into a HD PAL video were taken with my Nokia N8 mobile video camera. These are in mp4 format. Can this present a problem ?  Note that when I play these individual HD clips on my computer in (Windows Media Player) they run fine.
    After I placed the clips in my Project Panel (or before in the Organize Workspace), I have perforned no change or manipulation of the clips.  They are in their original state.
    Just too confirm that the clips did seem to be compressed, I burnt a DVD, the resultant video ran in a matter of seconds.
    Help would be greatly appreciated.

    Yes, that is what the problem was.
    Although the video camera on my Nokia N8, mobile was capturing at 25fps,
    for some reason once transfered over to PrE9 (via file transfer), the clip was interpreted as 500fps.  Once in Interpret Footage I was able to change the fps to 25.
    Thanks for the help.

  • CD burner error: Burn Speed Too Fast

    Whenever I try to burn a CD on my eMac an error message says
    "iTunes can't burn this CD because the burn speed is too fast for your CD burner or media. Choose a lower speed in the burning pane of iTunes Preferences then try burning again".
    It even says that when the burning speed is on x1. It says that on every speed. So does anyone know how I can fix this problem and make it be able to burn CDs? Is it because I have nearly 10,000 songs on my iTunes, so that is somehow making it slow down?
    The blank disc I'm using is "High Quality Pure Silver CD-R 80 Tevion"
    It has 700 megabytes (80 minutes) on it, and I want to burn a CD that is 60 minutes, exactly. So, help? Thanks.

    Let me see if I can help you understand your delima.
    Just because you buy a very expensive Media Brand, doesn't mean it is any good. There is such a wide range of quality in CD's and DVD's it is really hard to select what is considered to be the best.
    A very good guide to use for Media in general for both CD, and DVD's is below.
    http://www.digitalfaq.com/media/dvdmedia.htm
    Next there are a couple of KEY points to remember when burning, these will help you.
    Never have any other Applications open when burning.
    I tend to use either CD-R or DVD-R Media, the reason is these 2 formats are the most widely used and recognized in all Players, and Computers alike.
    Always choose the slowest speed to get a high quality burn.
    This next suggestion is probably the most important.
    Not all CD-R's and DVD-R's are the same
    Read the packaging carefully
    Many will explain that they will burn at all speeds from 1X upwards
    This will help insure that your burner Software will choose the correct speed.
    Don

  • ITunes CD Burn error (media too fast)??

    I upgraded to the latest iTunes version and now Im getting errors when I try to burn a playlist. I havent burned a cd off this computer in a long time, so Im not sure if it's iTunes. However, the error, if I remember correctly,said iTunes is unable to burn the playlist because the requested speed is too fast for the burner or the media.
    I tried slowing my burning speed to 8X, but it still gave me the error.
    Any suggestions? Is it time for a new drive? If so, what are my options? I have the blue CRT (500mhz) iMac.
    Thanks

    Since my original post, I have been able to burn a cd, but still most of the time get the error. Why would it work sometimes, and not other times?
    Im guessing the drive is going. Can it be replaced? Are there upgrades available for the CRT iMacs ?

  • Spry accordion open on mouseover with extra content if too fast

    So I already did this and got the spry to open with a hover,
    Go to line 213 (or thereabouts) to find
    Spry.Widget.Accordion.prototype.onPanelTabClick = function(e, panel)
    and change that to
    Spry.Widget.Accordion.prototype.onPanelTabMouseOver = function(e, panel)
    but if you move too fast up and down the menu it opens the other contents and leaves it there see webpage:  move your mouse fast up and down the menu to see.  How do I make sure it is completely closed.  I noticed this does happen to on a Click if you switch too fast between tabs.
    http://www.abbottsportslincoln.com/index.php
    Thanks for any help!
    Jacey

    so is there really no way to fix it? My client already has that, and it's not practical, we want to be able to see all the options for the sub-menus open when we are in one of the tabs.
    Let me know if there is really no way around it.  I'm actually pretty sure that the background for the next tab is stuck behind the content.  Take a look at this site and see how they have a delay in there accordion.
    http://www.targetcenter.com/
    Thanks, Jacey

  • Slim "Id "x" respawning too fast: disabled for 5 minutes"

    Hello Everyone,
    Slim "Id "x" respawning too fast: disabled for 5 minutes"
    This error drives my crazy I changed to slim after the recent change of gdm.
    Since I changed, when I boot my PC this error always occurs. Only solution so far is either to wait for 5 minutes  or to change to another TTY#, login and try init 3 and then init 5 (which only works sometimes but most of the time delivers the same error).
    The error doesn't occur when I REboot the PC.
    I start slim via inittab with "x:5:respawn:/usr/bin/slim >& /dev/null"
    I already tried the German Arch-Forum but got no reply.
    There is a topic http://bbs.archlinux.org/viewtopic.php?id=81159 with the "solution" to change inittab
    "x:5:respawn:/usr/bin/slim >& /dev/null"
    to
    "x:5:once:/usr/bin/slim >& /dev/null"
    but this doesn't work for me, slim then refuses completly to start.
    I'd prefer to use the inittab method and not the daemon method...
    Thank you in advance
    cl10k
    PS: Sry for bad English...
    Last edited by cl10k (2009-11-24 21:54:18)

    Hi,
    "generally" X seems to work fine. I use Openbox without any problems. If I try /usr/bin/slim from init 3 it says: "Stale lockfile found, removing it" and then nothing happens - the console just stays on.
    I haven't changed my Xorg for ages, I still use the same X configuration (besides updates) that I had years ago with kdm and then with gdm. Even when I switched from gdm to slim I just follwed to wiki and changed the Inittab line from gdm to slim.
    Heres my Inittab and my Xorg.conf (to be honest I'm not really fit with Xorg configuration...)
    To be sure, I just created a (very basic) new Xorg.conf with nvidia-xconfig.
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    #id:3:initdefault:
    # Boot to X11
    id:5:initdefault:
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    #x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    #x:5:respawn:/usr/bin/kdm -nodaemon
    x:5:respawn:/usr/bin/slim >& /dev/null
    # End of file
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 1.0 (buildmeister@builder63) Tue Oct 20 21:01:12 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "LG F900B"
    HorizSync 30.0 - 98.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 7600 GS"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "1"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "CRT-0: 1280x1024_85 +1280+0, CRT-1: 1280x1024_85 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    EDIT: It seems to work now! Slim started without any errors. I will test that for some days to see if the problem is really gone now.
    Just out of curiosity:
    A lot seems to have changed in Xorg.conf since my old ~2years old config was made.
    I had to turnoff boot logo manually and set Option "Composite" "Enable" but now everything seems to work by default?
    Do you see any flaws in my xorg.conf? Any ideas for improvements (except metamodes)?
    Last edited by cl10k (2009-11-25 10:47:02)

  • Tooltip with img title disppears too fast

    The problem was already described - in 2008. Not sure if it was fixed later, but I got hit by it now.
    When I go to (for example) http://xkcd.com/, and hover over image, there is tooltip shown with title attribute of the image.
    The problem is that the tooltip disappears after around 2-3 seconds - way too fast to allow me to read it.
    Is there any option to make tooltips stay in place until I move the mouse, or press something?
    I'm using Firefox 34 on 64 bit Linux (kubuntu).

    Are you using a possibly special branded Firefox version from the Ubuntu repositories or the official Firefox release from the Mozilla server?
    You can find the full version of the current Firefox 34.0 release in all languages and for all Operating Systems here:
    *https://www.mozilla.org/en-US/firefox/all/
    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Sound stream played too fast

    hello,
    i'm trying to stream audio byte[] data over multicast network (UDP). on the receiving end, the sample is played way too fast. CMIIW, this has nothing to do with networking stuff, but an audio playback problem. can someone give a hint?
    here's the server code
    * VoiceOverNetwork.java
    * Created on July 6, 2006, 9:05 PM
    package org.klorofil.test.app.voice;
    import java.io.PipedInputStream;
    import java.io.PipedOutputStream;
    import java.util.HashMap;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.SourceDataLine;
    import org.jgroups.JChannel;
    import org.jgroups.Message;
    import org.klorofil.app.vchat.VChatGroupLogic;
    import org.klorofil.test.util.Util;
    * @author bungrudi
    public class VoiceOverNetwork {
            protected static volatile boolean       stop    = false;
            public static void main(String[] args) throws Exception {
                    String props = "UDP(mcast_addr=224.10.10.10;mcast_port=54321;ip_ttl=32):"+
                                        "PING(timeout=2000;num_initial_members=1):" +
                                        "MERGE2(min_interval=5000;max_interval=10000):" +
                                        "FD_SOCK:" +
                                        "VERIFY_SUSPECT(timeout=1000):" +
                                        "pbcast.NAKACK(max_xmit_size=8096;gc_lag=50;retransmit_timeout=600,1200,2400,4800):" +
                                        "UNICAST(timeout=600,1200,2400,4800):" +
                                        "pbcast.STABLE(desired_avg_gossip=20000):" +
                                        "FRAG(frag_size=8096;down_thread=false;up_thread=false):" +
                                        "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;" +
                                        "shun=false;print_local_addr=true):"+
                                        "VIEW_ENFORCER:"+
                                        "pbcast.STATE_TRANSFER";
                    final JChannel          channel = new JChannel(props);
                    channel.connect("voicetest");
                    final SourceDataLine    line = (SourceDataLine) AudioSystem.getLine(VChatGroupLogic.sourceLineInfo);
                    line.open(VChatGroupLogic.audioFormat);
                    line.start();
                    final PipedInputStream        pis = new PipedInputStream();
                    final PipedOutputStream       pos = new PipedOutputStream(pis);
                    Runnable                run = new Runnable() {
                            public void run() {
                                    try {
                                            Object obj = null;
                                            while(!stop) {
                                                    obj     = channel.receive(0);
                                                    if(obj != null && obj instanceof Message) {
                                                            //System.out.println("data...");
                                                            Message m = (Message) obj;
                                                            byte[] buffer = m.getBuffer();
                                                            pos.write(buffer,0,buffer.length);
                                    } catch (Exception ex) {
                                            ex.printStackTrace();
                    Thread  t       = new Thread(run);
                    t.start();
                    Runnable                run2 = new Runnable() {
                            public void run() {
                                    try {
                                            AudioInputStream        ais = new AudioInputStream(pis,VChatGroupLogic.audioFormat,-1);
                                            AudioInputStream        ais2 = AudioSystem.getAudioInputStream(VChatGroupLogic.audioFormat,ais);
                                            byte[]  buffer  = new byte[21120];
                                            int     nBytesRead = 0;
                                            while(!stop && nBytesRead!=-1) {
                                                    nBytesRead      = ais2.read(buffer,0,buffer.length);
                                                    line.write(buffer,0,nBytesRead);
                                    } catch (Exception ex) {
                                            ex.printStackTrace();
                    Thread  t2       = new Thread(run2);
                    t2.start();
                    // dispatch client thread.
                    String[] ars = new String[] {"java",
                                    "-Djava.net.preferIPv4Stack=true",
                                    "-Dlog4j.configuration=META-INF/log4j.properties",
                                    "org.klorofil.test.app.voice.VoiceOverNetworkClient",
                                    "parto"};
                    HashMap env = new HashMap();
                    env.put("CLASSPATH",System.getProperty("java.class.path"));
                    Util.ProcessDescriptor d1 = Util.runner(ars,env,"OUTPUT parto","ERROR parto");
                    d1.process.waitFor();
                    Thread.currentThread().sleep(5000);
                    // done
                    stop    = true;
                    t.interrupt();
                    t2.interrupt();
    }and heres the client
    * VoiceOverNetworkClient.java
    * Created on July 6, 2006, 9:16 PM
    package org.klorofil.test.app.voice;
    import java.io.File;
    import java.io.IOException;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.jgroups.ChannelClosedException;
    import org.jgroups.ChannelNotConnectedException;
    import org.jgroups.JChannel;
    import org.jgroups.Message;
    import org.klorofil.unstable.BytesWrapper;
    * @author bungrudi
    public class VoiceOverNetworkClient {
            private static final Log        log    = LogFactory.getLog(VoiceOverNetworkClient.class);
            public static void main(String[] args) throws Exception {
                    log.info("Client started...");
                    String props = "UDP(mcast_addr=224.10.10.10;mcast_port=54321;ip_ttl=32):"+
                                "PING(timeout=2000;num_initial_members=1):" +
                                "MERGE2(min_interval=5000;max_interval=10000):" +
                                "FD_SOCK:" +
                                "VERIFY_SUSPECT(timeout=1000):" +
                                "pbcast.NAKACK(max_xmit_size=8096;gc_lag=50;retransmit_timeout=600,1200,2400,4800):" +
                                "UNICAST(timeout=600,1200,2400,4800):" +
                                "pbcast.STABLE(desired_avg_gossip=20000):" +
                                "FRAG(frag_size=8096;down_thread=false;up_thread=false):" +
                                "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;" +
                                "shun=false;print_local_addr=true):"+
                                "VIEW_ENFORCER:"+
                                "pbcast.STATE_TRANSFER";
                    final JChannel          channel = new JChannel(props);
                    channel.connect("voicetest");
                    File file = new File("/windows/C/WINDOWS/Media/Windows XP Shutdown.wav");
                    final AudioInputStream        audioInput = AudioSystem.getAudioInputStream(file);
                    Runnable        run = new Runnable() {
                            public void run() {
                                    try {
                                            log.info("sending audio data...");
                                            byte[]          buffer = new byte[24000];
                                            int             nBytesRead = 0;
                                            int             totalRead = 0;
                                            while(nBytesRead != -1) {
                                                    nBytesRead      = audioInput.read(buffer,0,buffer.length);
                                                    if(nBytesRead > 0) {
                                                            System.out.println("sending...");
                                                            //BytesWrapper bw = new BytesWrapper();
                                                            //bw.bytes        = buffer;
                                                            //bw.amount       = nBytesRead;
                                                            //Streamable m = Util.streamableFromByteBuffer(Streamable.class,buffer);
                                                            Message m = new Message(null,null,buffer,0,nBytesRead);
                                                            channel.send(m);
                                                            totalRead += nBytesRead;
                                            log.info("Total data read "+totalRead+" bytes.");
                                    } catch (Exception ex) {
                                            ex.printStackTrace();
                    Thread  t = new Thread(run);
                    t.start();
                    while(t.isAlive());
    }any help appreciated

    I found a workaround.    Start the game outside of steam, and all is well.   You do have to have steam running, but start the game from the command line like this:
    cd ~/.steam/root/SteamApps/common/Half-Life
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./hl_linux -game valve
    Also, to use alsa insteam of pulse, before the above, do:
    export SDL_AUDIODRIVER=alsa

Maybe you are looking for

  • Open in new tab or window doesn't work. How can I fix this?

    I just upgraded to 36.01. When I right click on a link the menu of options is long and confusing. When I select open in a new tab or new window, it does nothing. What can I do to reduce the options list and how to fix the open new tab or window optio

  • New iMac Can't See HD and screen goes black then grey then black..etc.

    Hi I've got a new 20" Alu iMac and it was working fine for the past 3 weeks. All of a sudden this morning starting it up the screen went completely grey then after a while the apple logo came on (I thought it was eventually starting) then it went com

  • Check on Appraisal Forms

    Scenario : I want to apply few checks on appraisal forms. I have 3 sections in my appraisal form and each section has its own effort assigned percentage. Now i want to apply check on all three section effort assigned sum must be equal to 100. For exa

  • ABAP Program or Function Module to activate infospoke/openhub table

    Hi, Post migration to production, when i am trying to load the data in open hub table, its showing OH table is not active. i had tried to all aspect but i am unable to load the data. is there any ABAP Program or Function Module to activate infospoke/

  • How can I set prameters on a report source

    HI, I'm writing a JSF application that uses Crystal Reports. I am able to show the report with this tag. <bocrv:reportPageViewer viewerName="CrystalViewer" reportSource="#{crystalReportManager.getReportSource('CrystalReport1.rpt')}" allowParameterPro