Package de.sciss.meloncillo.transmitter

Examples of de.sciss.meloncillo.transmitter.Transmitter


   *  the compound edit.
   */
  public boolean consumerFinish( RenderContext context, RenderSource source )
  throws IOException
  {
    Transmitter        trns;
    AudioTrail        at;
    int            trnsIdx;
    ConsumerContext      consc   = (ConsumerContext) context.getOption( KEY_CONSC );

    for( trnsIdx = 0; trnsIdx < source.numTrns; trnsIdx++ ) {
      if( !source.trajRequest[ trnsIdx ]) continue;

      trns        = (Transmitter) context.getTransmitters().get( trnsIdx );
      at          = trns.getAudioTrail();
      at.editBegin( consc.edit );
      at.editClear( this, consc.as[ trnsIdx].getSpan(), consc.edit );
      at.editAdd( this, consc.as[ trnsIdx], consc.edit );
      at.editEnd( consc.edit );
//      at.finishWrite( consc.bs[ trnsIdx], consc.edit );
View Full Code Here


   */
  public boolean consumerRender( RenderContext context, RenderSource source )
  throws IOException
  {
    ConsumerContext      consc   = (ConsumerContext) context.getOption( KEY_CONSC );
    Transmitter        trns;
    AudioTrail        at;
    int            trnsIdx;

    for( trnsIdx = 0; trnsIdx < source.numTrns; trnsIdx++ ) {
      if( !source.trajRequest[ trnsIdx ]) continue;

      trns        = (Transmitter) context.getTransmitters().get( trnsIdx );
      at          = trns.getAudioTrail();
      if( consc.as[ trnsIdx ] == null ) {
        context.getHost().showMessage( JOptionPane.ERROR_MESSAGE,
          AbstractApplication.getApplication().getResourceString( "renderEarlyConsume" ));
        return false;
      }
View Full Code Here

TOP

Related Classes of de.sciss.meloncillo.transmitter.Transmitter

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.