jdk/src/share/classes/javax/sound/sampled/AudioSystem.java
changeset 22584 eed64ee05369
parent 21278 ef8a3a2a72f2
child 22959 2d9d076cee41
equal deleted inserted replaced
22583:e7d5af0b11e9 22584:eed64ee05369
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  1607 
  1607 
  1608         Mixer.Info[] someInfos; // per-mixer
  1608         Mixer.Info[] someInfos; // per-mixer
  1609         Mixer.Info[] allInfos;  // for all mixers
  1609         Mixer.Info[] allInfos;  // for all mixers
  1610 
  1610 
  1611         for(int i = 0; i < providers.size(); i++ ) {
  1611         for(int i = 0; i < providers.size(); i++ ) {
  1612             someInfos = (Mixer.Info[])
  1612             someInfos = ((MixerProvider)providers.get(i)).getMixerInfo();
  1613                 ((MixerProvider)providers.get(i)).getMixerInfo();
       
  1614 
  1613 
  1615             for (int j = 0; j < someInfos.length; j++) {
  1614             for (int j = 0; j < someInfos.length; j++) {
  1616                 infos.add(someInfos[j]);
  1615                 infos.add(someInfos[j]);
  1617             }
  1616             }
  1618         }
  1617         }