Package samer.audio

Class VLine

  • java.lang.Object
    • Viewable
      • samer.audio.VLine
  • Direct Known Subclasses:
    LineSink, LineSource


    public abstract class VLine
    extends Viewable
    A Viewable for exposing a Javasound DataLine object. The Agent responds to these commands: "open", "close", "info" "start", "stop", "drain" and "flush". Changes: 16/6/03: removed ClipAgent class. Don't care about clips. Also removed line members from agent classes: they now use local variables in the execute method instead.
    • Constructor Summary

      Constructors 
      Constructor and Description
      VLine(java.lang.String name) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Close the line
      void dispose() 
      void execute(java.lang.String cmd, Environment env) 
      void getCommands(Agent.Registry r) 
      Viewer getViewer() 
      void open()
      Open the line using its default format
      void start() 
      void stop() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VLine

        public VLine(java.lang.String name)
    • Method Detail

      • open

        public void open()
                  throws java.lang.Exception
        Open the line using its default format
        Throws:
        java.lang.Exception
      • close

        public void close()
        Close the line
      • start

        public void start()
      • stop

        public void stop()
      • dispose

        public void dispose()
      • getViewer

        public Viewer getViewer()
      • getCommands

        public void getCommands(Agent.Registry r)
      • execute

        public void execute(java.lang.String cmd,
                            Environment env)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()