com.frinika.sequencer.gui
Class MixerAudioDeviceHandle

java.lang.Object
  extended by com.frinika.sequencer.gui.MixerAudioDeviceHandle
All Implemented Interfaces:
AudioDeviceHandle

public class MixerAudioDeviceHandle
extends java.lang.Object
implements AudioDeviceHandle


Constructor Summary
MixerAudioDeviceHandle(javax.sound.sampled.Mixer mixer, javax.sound.sampled.AudioFormat af, javax.sound.sampled.DataLine.Info info, uk.org.toot.audio.server.AudioServer server)
           
 
Method Summary
 void close()
           
 void fillBuffers(int nFrame)
           
 byte[] getBuffer()
           
 int getChannels()
           
 javax.sound.sampled.AudioFormat getFormat()
           
 javax.sound.sampled.TargetDataLine getLine()
          Deprecated. To be rpelaced with COnnections
 javax.sound.sampled.TargetDataLine getOpenLine()
          Deprecated. TO be replaced by Connections
 boolean isOpen()
           
 void open()
          open and start the line.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MixerAudioDeviceHandle

public MixerAudioDeviceHandle(javax.sound.sampled.Mixer mixer,
                              javax.sound.sampled.AudioFormat af,
                              javax.sound.sampled.DataLine.Info info,
                              uk.org.toot.audio.server.AudioServer server)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getLine

public javax.sound.sampled.TargetDataLine getLine()
Deprecated. To be rpelaced with COnnections

Specified by:
getLine in interface AudioDeviceHandle

fillBuffers

public void fillBuffers(int nFrame)

getOpenLine

public javax.sound.sampled.TargetDataLine getOpenLine()
Deprecated. TO be replaced by Connections

Specified by:
getOpenLine in interface AudioDeviceHandle

getChannels

public int getChannels()
Specified by:
getChannels in interface AudioDeviceHandle

getFormat

public javax.sound.sampled.AudioFormat getFormat()
Specified by:
getFormat in interface AudioDeviceHandle

isOpen

public boolean isOpen()
Specified by:
isOpen in interface AudioDeviceHandle

open

public void open()
open and start the line.

Specified by:
open in interface AudioDeviceHandle

close

public void close()
Specified by:
close in interface AudioDeviceHandle

getBuffer

public byte[] getBuffer()