I'm having a problem with coreaudiotoolbox and corevideo.dll.

I'm having a problem with coreaudiotoolbox and corevideo.dll. PC was corrupted, I restored. Now when I launch Safari, I run into errors, can't find these two dll files. Itunes won't download at all because it says something is missing but won't say what. Now what do I do? Apple won't help because they want $50 dollars just to talk with me and I've been down that road before and to no satisfaction. Help please!!

Taken at face value, you're having trouble with Apple Application Support program files there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept, so an AAS problem can affect both iTunes and Safari.)
Let's try something relatively simple first. Restart the PC. Now head into your Add or Remove programs control panel, select "Apple Application Support", click "Change" and then click Repair.
If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post (although it's for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things):
Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a window pops up saying that the prograam has encountered a problem and sh...

Similar Messages

  • TS5376 I'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.

    'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.  I have even done a repair to see if that works and it has not.  Has anyone else found a new way to get it working?

    Try Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Anyone else having a Problem with Leopard and Photoshop CS3?

    I'm using CS3 with Leopard 10.5.4 at work and there are some very aggravating anomalies, that I'd like to nail down to a cause. Most frequently, when switching from apps to P'Shop, the menu bar stays for the previous app, i.e. when going from Finder to P'shop, the menu bar still says Finder and has Finder options. Changing from Lightwave to P'Shop, the menu bar remains Lightwave.
    Occasionally, an Adobe app - P'Shop or InDesign - will simply disappear and not come back. The icon in the dock shows it as active, but no amount of clicking, Command-Tabbing will reveal the app and I have to Force Quit, losing unsaved changes.
    I have a feeling it's Leopard, since, I've used CS3 on Tiger and CS4 on Tiger and never had a problem.
    I'm wondering if upgrading to the latest Leopard would make much of a difference.
    Has anyone come across this and found any kind of answers?
    Thanks for any suggestions.
    -Vincent

    > Just because it doesn't happen to Phil (who may not use all of the same features of the Suite that others do anyway) does NOT mean that these problems are not real and are not mere PEBCAK.
    Right. If someone is having a problem associated with Tiger, it's PEBAK. If Leopard is involved, it's automatically because of Leopard. Apparently, with Apple's latest OS, trouble shooting problems are no longer necessary - just blame it on Leopard and call it a day.
    b FUD
    I find the dynamics here really interesting. This thread would have been very different if Vincent had posted with problems involving Tiger. Would have gone something like this:
    After admonishing him for not providing more information about his setup by posting the obnoxious big blue link on how to ask questions (ahem - we know NOTHING about his machine or configuration, such as which machine, how much RAM, scratch disk or attached peripherals), there'd be all kinds of trouble shooting advice given - "try a new user", "repair permissions", "run DiskWarrior, and on and on ...
    But no, since he mentions Leopard, none of that is apparently necessary and the completely, utterly
    b irresponsible
    advice is given ... "that's just the way Leopard is".
    Those are some serious problems he's reporting that have nothing to do with Leopard. Something is obviously hosed!
    As for discounting my experience because I don't use every app in the suite as extensively as I do Photoshop, I'm FAR more qualified to discuss Leopard and CS issues than Ann or Neil who do not use Leopard at all (and have never used it as far as I know.)
    "Others have problems with it", is their battle cry but it's extremely weak. Do I really need to remind you all that these forum are ALWAYS filled with people who have problems, regardless of version or OS? You act as if this forum was a ghost town when Tiger and CS3 were current!
    Gee, Ann ... people are STILL reporting problems with 10.5 and CS3? How shocking! Guess what - people are STILL reporting problems with 10.4 and CS3 too! Let me make a prediction - people will have problems with 10.8 and CS9!
    Vincent-
    > I don't really deal with fonts anyway ...
    Yes. You do. Even if you never type a single line of text, every application uses fonts to create menus and other GUI items. If one of those fonts are bad, it can create all kinds of problems, including the very problems you mention.
    The fact that you don't seem aware of this and you're still using 10.5.4 leads me to believe you're not familiar with the basic practices of maintaining a healthy system. Again, how did you install Leopard on that machine?
    Look, if you're simply trying to justify using CS4, go right ahead. It's a worthwhile upgrade in it's own right. However, if you install it on that machine in it's current state, CS4 will NOT fix your problems because you do NOT have a healthy system.
    You asked for experiences with Leopard - I can launch every application in both CS3 and CS4 suites
    i simultaneously,
    and STILL not have your issues. I haven't experienced anything like your CS3 problems in Leopard - on both a 2006 Mac Pro and a 2008 Macbook.
    If you'd like help to try and figure out the real problem, I'm more than happy to help. If not, Adobe will gladly take your money ...
    -phil

  • Having a problem with "open" and "import" buttons!

    Hello all,
    I am having some trouble with a basic function in Logic. When I go to "file" and select "import," the window of options appears. However, when I select a file and click the "import" button, literally nothing happens. I have had a similar problem, when I go to the "file" menu and select "open." A window will appear for me to browse to the logic file I want to open, but when I click "open," nothing happens. However, if I manually go to the file and double-click it, then the file will open. The drop-down is set to "All logic document types," though I have tried "all Logic songs" with the same problem. Please help!
    Best,
    Jon

    you know whats funny, this project has to do with arrays of objects and not inheritance. We learned inheritance last week but the lab we are doing which is this, is for arrays of objects. sorry for the confusion lol. so you can completely ignore this, it actually has it in big bold letters at the top of the web page for the lab.

  • TS3694 I am having a problem with updating and restoring my iPhone 5 , I received an unknown error (3004)

    I am having a problem updating my iPhone 5, it keeps giving me a message stating that it was unable to restore my phone and the error is an unknown error (3004)

    Hello Norm Baines,
    Go through the section 5. Verify that the Apple Mobile Device USB Driver is installed from the link below
    http://support.apple.com/kb/ts1538

  • I am having a problem with Java and Abode. Trying to play Pogo.

    Every time I try and play Pogo I have a problem. It pops up with a message about Java. If I hit the button it says to activate add on's which I try and do and now it will not do anything. Is my problem with Firefox or pogo. It seems that most of the problem is abode because it pops up every where.

    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Having a problem with drawImage() and dont know why...

    OK, I'm having some problems drawing my image onto the frame.. It will let me draw string, add components, etc.. but as soon as it come to trying to draw an image it just doesn't wanna..
    Here is my code:
    import java.awt.*;
    public class Messenger extends Frame {
         private boolean laidOut = false;
         private TextField words;
        private TextArea messages;
        private Button ip, port, nickname;
        public Messenger() {
             super();
             setLayout(null);
             //set layout font
             setFont(new Font("Helvetica", Font.PLAIN, 14));
             //set application icon
             Image icon =  Toolkit.getDefaultToolkit().getImage("data/dh002.uM");
             setIconImage((icon));
            //add components
            words = new TextField(30);
            add(words);
            messages = new TextArea("", 5, 20, TextArea.SCROLLBARS_VERTICAL_ONLY);
            add(messages);
            ip = new Button("IP Address");
            add(ip);
            port = new Button("Port");
            add(port);
            nickname = new Button("Nickname");
            add(nickname);
        public void paint(Graphics g) {
            if (!laidOut) {
                Insets insets = insets();
                //draw layout
                g.drawImage("data/dh003.uM", 0 + insets.left, 0 + insets.top);
                ip.reshape(5 + insets.left, 80 + insets.top, 100, 20);
                port.reshape(105 + insets.left, 80 + insets.top, 100, 20);
                nickname.reshape(205 + insets.left, 80 + insets.top, 100, 20);
                messages.reshape(5 + insets.left, 100 + insets.top, 485, 300);
                g.drawString("Type your message below:", 5 + insets.left, 425 + insets.top) ;
                words.reshape(5 + insets.left, 440 + insets.top, 485, 20);
                laidOut = true;
        public boolean handleEvent(Event e) {
            if (e.id == Event.WINDOW_DESTROY) {
                System.exit(0);
            return super.handleEvent(e);
        public static void main(String args[]) {
            Messenger window = new Messenger();
            Insets insets = window.insets();
              //init window..
            window.setTitle("Unrivaled Messenger");
            window.resize(500 + insets.left + insets.right,
                          500 + insets.top + insets.bottom);
            window.setBackground(SystemColor.control);
            window.show();
    }Im only new to Java, maybe I've left something out ? Any help will be much appreciated, thanks :)

    Thanks! Got the image to display now... but, next problem.. its a strange one, whenever the application is minimized or has something dragged/popup over the top of it, those sections of text/images disappear... anyone know a reason for this? im using the d.drawImage() like displayed in my code above.. this is the final code for my image..
    Image banner = null;
    try {
         banner = ImageIO.read(new File("data/dh003.uM"));
    } catch(IOException e) { }
    g.drawImage(banner,0 + insets.left, 0 + insets.top, this);and as for my text...
    g.setFont(new Font("Arial",1,14));
    g.drawString("Type your message below:", 5 + insets.left, 425 + insets.top);Thanks in advance!

  • Having a problem with iTunes and internet radio. The programme keeps changing stations

    I'm abroad at present and using a wireless connection at the lab. Itunes keeps changing internet radio stations as a function of time,
    Any suggestions or os it a known problem with the current version?
    Don

    Try the following user tip:
    "Invalid drive X:\" install errors

  • Problem with BSOD and awvid5.dll

    Hi all,
    Need help urgently.... My computer keeps crashing when playing any type of file that is Quicktime related or uses Quicktime as a base for the player.
    This happens when I view mov files in Firefox, try to transfer movies into my iPod Touch using iTunes and even when i play movies using Quicktime. I'm not sure why this is happening. Each time i try to do anything with the above listed programs I get a BSOD. The BSOD always says there is a problem with awvid5.dll.
    I've researched around the net and all have different causes but no solutions. Some says it's pcAnywhere, graphics card drivers, etc. but no solutions. Anyone has any solutions to this one? As a results whenever I try to transfer movies to the iPod Touch I just use my MacBook Pro but sometimes it's not the quickest solution as I just try to use whichever laptop I'm using currently to transfer stuff to the iPod.
    Another issue I'm having is that none of the Quicktime files play on Quicktime, all I get is static (green/purple hazes) and the sound that's all.
    I'm using a Toshiba Tecra M2, these are the specs:
    Centrino Pentium M, 1.6GHz CPU
    512MB RAM
    nVidia GeForce FX Go5200, 64MB
    Any solutions on this one? Any help would be great. THANKS.

    QuickTime Control Panel / Advanced tab
    Under Video try using "Safe mode".
    Quit and relaunch QuickTime and any open browser and try again.
    awvid5.dll is a PC Anywhere dynamically linked library. See if they offer an update.

  • Having major problem with deployed installer needing DLLs that I don't seem to use in the application

    I'm a bit confounded on the library situations...I'm not using an RT target...
    though
    when running the deployed executable/installer.... upon start it asks
    for these 2 dlls:  lvuste.dll & lvalarms.dll. which seem to be related to RT  ????  how do I get
    around this?  How would I include these dlls within an executable or installer?
     I'm using 8.5.

    It looks like this was a problem with the way Timed loops link directly to those 2 DLLs.  Does the error ask for those DLLs in a specific folder?  If so you can copy them from their current location (which I believe should be <labview>\resource folder) to the folder that it wants them to be in.  Alternately you can simply remove the timed loops, since timed loops on a Windows PC doesn't really have much benefit over a while loop with a timer.
    Hope this helps... 
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center

  • Is anyone else having a problem with photoshop7 and new snow leopard operating system?

    Recently purchased new imac with snow leopard operating system. Installed photoshop 7 successfully (it said anyway) but when I try to open get error message stating "an unexpected and unrecoverable problem has occurred because of a program error. Photoshop will now exit." Help!

    John_Levine_IOPHFI_INH wrote:
    It may not have been considered a "Major Release," But when the it's the only OS that the machines you are currently building will run, it's pretty freakin' major!
    (I'm not sure if Apple's latest machines will still run 10.5, or not, but from following this thread, I'm guessing not?)
    It is the standard at Apple... the latest build of the current OS is what goes on the new machines, and the Motherboards, Chipsets, & BIOS (not the right term for it with Mac, I know) are "hard written" to accept that OS as the absolute minimum, and nothing older (or lower as some call it).
    So, since the latest machines are coming preloaded with Snow Leopard (10.6.2) that, and subsequent newer builds of OS 10.6 and up is all they can be loaded with.
    This is nothing new. It's industry wide in both Mac and PC. Just try to put XP on a brand new Dell, HP, or Gateway PC. Without flashing the BIOS and taking a "more likely than not" chance of rendering most of your hardware undetectable, it just ain't gonna happen.
    Conversely, just as Snow Leopard won't run on a PPC powered Mac, Vista and 7 may install, or appear to, on a single core, older PC, but the first time you install and try to open anything other than the OS itself, you're in for a world of problems.
    People have tried to fight this for years. In 2005 Mac users went out of their minds when Apple dropped support for OS 9. A year later, it was Windows 98 users freaking out over their beloved OS being "sunsetted". I was skeptical of the move to Intel processors when I first heard about it, having become a full time Mac user, and being partial to AMD before that. But like Motorola PPC processors, AMDs run hot and heat is the enemy. The new machines run faster, cooler, and do more for less money.
    It's a major pain for people who don't have the budget for a new Mac (or PC) and still have old software that is perfectly functional, but they are finding more and more incompatibility as they interact with other people and newer systems. Sooner or later though, technology wins and everyone has to either upgrade or drop out.  Fighting it is futile.  I will always remember the day last Summer when I stopped at a traffic light and next to me was an older, redneck looking fellow in a new brand spanking new Honda Accord. It may have even been a hybrid, I don't know, but duct taped on his dash was what had to be a thirty-five year-old 8-track player with a bunch of wires coming out of the back, also taped to the dash, and running to a pair of 6 x 9 speakers, which were just laying on the dash (no duct tape). I had to wonder why he bothered to buy the latest in automotive technology and yet he was stuck in a time warp for his stereo. Don't Hondas come with some pretty decent CD stereo units? And where can you find 8 track tapes anymore?

  • I am having awful problems with mouse and trackpad after installing Lion

    I have tried 3 different brands of mice and it happens with each one. the mouse clicks and sticks spontaniously and wont let go and hitting esc or trying to click somewhere else doesn't have any effect - it wont let go. And it doesn't seem to matter which program. At forst i thought it was just pwer point but it still happens if I command/tab over to mail or finder. and then I get the stupid wheel of death. power point (or whatever program I'm in) locks up. and then I lose recent edits.
    I have a Mac book pro. I have use and external keyboard and monitor when I'm at my office.
    When the problem has happened I have tried using the trackpad - but it's like it's dead. No click effect. No help!
    I AM REALLY TRYING TO NOT GET ANGRY - BUT I AM READY TO SCRAP LION!!!!!!!!!!!
    HELP!!!!!!!!

    Thanks for the tip re MagicPrefs! Great app!
    Is anyone having trouble with Mac losing the connection to Magic Mouse after the Mac goes to sleep? I am running Mac Mini late 2009 with dual-core 2.0 GHz and 4 GB RAM. Never had any issues under Snow Leopard, only after the upgrade to Lion. Battery is OK (tried fresh ones with no luck).
    Turning the mouse off then on does not help, but ocasionally I have been able to get the mouse back by simply using Command+Tab. It does not seem to matter which app is active.

  • Having some problems with Xcode and C++

    hi guys , I am learning C++ and I am having the following problem when trying to use .h files.
    Example. I make a new document using Xcode2.3.
    in the source folder I got my main.cpp and i 2nd click it, choose add/file/BSD/header file.
    main.cpp
    #include "funtest.h"
    int main ()
    print_num ( 9 );
    return 0;
    funtest.h
    void print_num (int iNum);
    When I compile with Cmd+R , I get:
    [Session started at 2006-06-26 01:59:31 -0400.]
    ZeroLink: unknown symbol '_Z9printnumi'
    complex2 has exited due to signal 6 (SIGABRT).

    Thanks a lot! I don't recommend you to code too early in the morning :P
    The program now looks like this:
    funciones.cpp
    #include "funciones.h"
    #include <iostream>
    int main ()
    print_num ( 9 );
    return 0;
    funciones.h
    /*funciones utilizadas en el programa*/
    #include <iostream.h>
    void print_num (int iNum)
    std::cout << iNum << endl;
    now it builds and prints a fine "9" as output.
    The only thing that is killing me , is in funciones.h, if I don't use #include <iostream.h> the app doesn't run. And if I include it , it runs but Xcode gives me a warning of old headers.
    thanks again.

  • Having some problems with ImageIcons and JLabels

    I'm making a checkers game, and so far it's going pretty well.
    I've got the basic game down, and you can move pieces, jump, your turn ends when you can't jump anymore, etc...
    However, I've had three problems:
    1.) I'm using JLabels to display my board (8 x 8.. well actually 9 x 9 for an outer row labelled A,B,C,D.. 1,2,3,4...) Anyway, I create the JLabels using something that looks like \:
    JLabel square = new JLabel(new ImageIcon("pic.png"));
    Now, the picture loads properly, but it seems like the picture is being cropped, and the top and bottom are getting chopped off, so my 36 x 36 pixel *.gif appears to be 36 x 30.
    You can see how there is a gap created in:
    http://img235.imageshack.us/img235/7765/prob13ky.jpg
    Now the problem may be with the GridLayout I am using, but I set the distance between the components in the container to be 0, 0 so I don't think that GridLayout is chopping my icons. I've also tried setPreferredSize(new Dimension(36,36))
    for both my ImageIcons and JLabels and for my container (which I set to size 2000,2000, just to make sure there was room). If anyone can help me, it's be appreciated.
    2.) I used to be able to view my outside row/column of squares that said A,B,C,D.... and 1,2,3,4... with the square in the corner having a random pic. For some reason now (have no clue why) I now see only the pic in the corner, and then a little gray smudge diagonally under it.
    Pic:
    http://img347.imageshack.us/img347/8308/prob24im.jpg
    I don't know what's wrong. I'm pretty sure it's none of the new methods I've written, as those are all in my static void main (String[] ar) ...... and if I comment all the methods in my main except where I first make the JFrame and set it visible, it still turns out like that. repaint() doesn't help.
    3.) For some reason, when I move another window (AIM, the console window, etc...) over my Swing window, it "erases" (turns gray, just wipes clean) the part where I have my squares that have pieces.
    What's weird is that:
    The border pieces (err.. my one visible corner piece from my second problem) don't get wiped, and some debugging text and JLabels (in a different JPanel) are fine. I don't think the JPanel matters though; the border pieces and the playing squares (which get wiped) are in the same JPanel and same array of squares.
    repaint(); also erases ALL of my playing squares, whereas moving a window over them would only erase the part that the window covered.
    Also, I added a mouseListener so that whenever I move the mouse over a square, it changes the image (to a tinted version, so you know the mouse is over it) and when you move the mouse away, it returns to normal. However, if I wildly swing the mouse around the area, it seems to lock up and freeze for a few seconds. Is there anything I can do to prevent this??
    Thanks in advance.

    It is hard to tell what your problems are without any code at all (I saw your images, but that doesn't make it easy to see what is wrong in your code). If you do post code, please use code tags (see button above posting box).
    I've seen your MouseListener problem before--we had the exact same issue in our code at work. It would freeze up while it processed all of the mouse events (unbearably slow). I'm not at work right now, so I don't recall how it was fixed. Essentially, you need to only process the event periodically. You need to only update the image if the mouse switches squares. Or, only update the image if the distance from the last mouse event is more than some specified amount. We might also have checked the time difference between mouse events before processing a new one. I could look at the code at work tomorrow, if you are still having trouble.

  • Having a problem with threads and using locks

    I was hoping someone could give me some hits on getting my code to run properly. The problem I am having is I think my locks and unlocks are not working properly. Plus, for some reason I always get the same output, which is:
    Withdrawal Threads         Deposit Threads            Balance
    Thread 2 attempts $29 Withdrawal - Blocked - Insufficient Funds
    Thread 4 attempts $45 Withdrawal - Blocked - Insufficient Funds
    Thread 6 attempts $34 Withdrawal - Blocked - Insufficient Funds
    Thread 7 attempts $40 Withdrawal - Blocked - Insufficient Funds
                                    Thread 1 deposits $187          $187
                                    Thread 3 deposits $169          $356
                                    Thread 5 deposits $61           $417
    Press any key to continue...If someone can see the error I made and doesn't mind explaining it to me, so I can learn from it, I would appreciate that very much.
    /************Assign2_Main.java************/
    import java.util.concurrent.*;
    public class Assign2_Main
    {//start Assign2_Main
        public static void main(String[] args)
        {//start main
               // create ExecutorService to manage threads
               ExecutorService threadExecutor = Executors.newCachedThreadPool();
            Account account = new SynchronizedThreads();
            Deposit deposit1 = new Deposit(account, "Thread 1");
            Deposit deposit2 = new Deposit(account, "Thread 3");
            Deposit deposit3 = new Deposit(account, "Thread 5");
            Withdrawal withdrawal1 = new Withdrawal(account, "Thread 2");
            Withdrawal withdrawal2 = new Withdrawal(account, "Thread 4");
            Withdrawal withdrawal3 = new Withdrawal(account, "Thread 6");
            Withdrawal withdrawal4 = new Withdrawal(account, "Thread 7");
            System.out.println("Withdrawal Threads\t\tDeposit Threads\t\t\tBalance");
            System.out.println("------------------\t\t---------------\t\t\t-------\n");
            try
                threadExecutor.execute(withdrawal1);       
                threadExecutor.execute(deposit1);     
                threadExecutor.execute(withdrawal2);  
                threadExecutor.execute(deposit2);    
                threadExecutor.execute(withdrawal3);
                threadExecutor.execute(deposit3);       
                threadExecutor.execute(withdrawal4);
            catch ( Exception e )
                 e.printStackTrace();
                //shutdown worker threads
               threadExecutor.shutdown();
        }//end main
    }//end Assign2_Main/******************Withdrawal.java****************************/
    public class Withdrawal implements Runnable
    {//start  class Withdrawal
          *constructor
        public Withdrawal(Account money, String n)
             account = money;
             name = n;
        public void run()
        {//start ruin
             int newNum = 0;
                newNum = account.getBalance(name); 
               Thread.yield();
        }//end run
        private Account account;
        private String name;
    }//end  class Withdrawal/*******************Deposit.java***************/
    import java.util.Random;
    public class Deposit implements Runnable
    {//start class Deposit
          *constructor
        public Deposit(Account money, String n)
             account = money;
             name = n;
        public void run()
        {//start run
                try
                     Thread.sleep(100);
                   account.setBalance(random.nextInt(200), name);
                }// end try
                catch (InterruptedException e)
                  e.printStackTrace();
       }//end run
       private Account account;
       private Random random = new Random();
       private String name;
    }//end class Deposit/********************Account.java*****************/
    *Account interface specifies methods called by Producer and Consumer.
    public interface Account
         //place sum into Account
         public void setBalance(int sum, String name);
         //return  value of Account
            public int getBalance(String name);         
    } /**************SynchronizedThreads.java****************/
    import java.util.concurrent.locks.*;
    import java.util.Random;
    public class SynchronizedThreads implements Account
    {//start SynchronizedThreads
          *place money into buffer
        public void setBalance(int amount, String name)
        {//start setBalance
             // lock object
             myLock.lock();           
            sum += amount;
            System.out.println("\t\t\t\t" + name + " deposits $" + amount +"\t\t$"+ sum+"\n");       
               //threads are singnaled to wakeup
            MakeWD.signalAll();
              // unlock object                                                
            myLock.unlock();
           }//end setBalance
            *gets the balance from buffer
           public int getBalance(String name)
        {//start getBalance
             int NewSum = random.nextInt(50);
             //lock object
            myLock.lock();
            try
                 if(sum > NewSum)
                     //takes NewSum away from the account
                     sum -= NewSum;
                        System.out.println(name + " withdraws $" + NewSum +"\t\t\t\t\t\t$"+ sum+"\n");
                else
                     System.out.println(name +  " attempts $" + NewSum + " Withdrawal - Blocked - Insufficient Funds\n");                 
                     //not enough funds so thread waits
                        MakeWD.await();         
                //threads are singnaled to wakeup
                MakeD.signalAll();     
                }//end try
            catch (InterruptedException e)
                   e.printStackTrace();
            finally
                 //unlock object
                 myLock.unlock();
            return NewSum;     
         }//end getBalance
         private Random random = new Random();  
         private Lock myLock = new ReentrantLock();
         private Condition MakeD = myLock.newCondition();
         private Condition MakeWD = myLock.newCondition();
         private int sum = 0;
    }//end SynchronizedThreads

    You can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
    However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
    You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
    Regds,
    SD
    N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
    Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM

Maybe you are looking for

  • "Permission Denied" Error

    Hi Gurus I'm getting this error while creating a new application - "Permission Denied" (in Workbench) and some "HRESULT error" (in Webclient). Can someone tell me the possible reason relating to this issue? Thanks in advance.

  • Forte WebEnterprise w/ ISAPI - 10055 error

    Forte Users, We have a Forte application that is web-enabled via Forte WebEnterprise and intermittently we are receiving 10055 error when following a link. After receiving the error you can either use the back arrow and retry the link or just hit the

  • Where are my videos?

    Hi I have a Ipod nano, I just uploaded some videos but i cant seem to find them in my ipod. There no videos or anything like that on my list on my ipod. Where are my videos? And can i play videos on my Ipod? (i heard you can)

  • Xdcam browser 1.3 - Error Registering for FCP

    I'm using the xdcam browser version 1.3 to register footage for final cut pro. I've done this weekly with the same camera, the same sxs cards, and the same computer, drives, everything for months. This morning, however, when I press the button to reg

  • Oracle 12c Monitor Repository

    Hi all, I have oracle Enterprise Manager cloud control  12c installed. The repository (database) is on a different machine. What I want to do is to add the repository as a normal database target to be monitored and administered (for example take back