Package de.sciss.jcollider

Examples of de.sciss.jcollider.ServerOptions


    final Application        app      = AbstractApplication.getApplication();
    final Preferences        userPrefs  = app.getUserPrefs();
    final PreferenceChangeListener  oCfgListener;

    audioPrefs        = userPrefs.node( PrefsUtil.NODE_AUDIO );
    so            = new ServerOptions();
    so.setBlockAllocFactory( new ContiguousBlockAllocator.Factory() )// deals better with fragmentation
   
    oCfgListener = new PreferenceChangeListener() {
      public void preferenceChange( PreferenceChangeEvent e )
      {
View Full Code Here


  }

  private void startMeters()
  {
    final Server        s      = superCollider.getServer();
    final ServerOptions      so      = superCollider.getServerOptions();
    final int          numOutputBusChannels;
    final int[]          channels;
    final Group          mg      = superCollider.getMasterGroup();
 
    if( (s == null) || (oCfg == null) || (mg == null) ) return;

    channels        = new int[ oCfg.mapping.length ];
    numOutputBusChannels  = so.getNumOutputBusChannels();
    for( int ch = 0; ch < channels.length; ch++ ) {
      if( oCfg.mapping[ ch ] < numOutputBusChannels ) {
        channels[ ch ] = oCfg.mapping[ ch ];
      } else {
        channels[ ch ] = -1;
View Full Code Here

TOP

Related Classes of de.sciss.jcollider.ServerOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.