mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Adds audio output display and management options supporting mono and stereo output options. Provides audio output supporting prioritization by talkgroup and/or channel selection. Supports muting all channels, or muting individual channels and individual audio gain/volume controls.
25 lines
738 B
Java
25 lines
738 B
Java
package audio;
|
|
|
|
import java.util.List;
|
|
|
|
import sample.Listener;
|
|
import source.mixer.MixerChannelConfiguration;
|
|
import audio.output.AudioOutput;
|
|
|
|
/**
|
|
* Interface for controlling one or more audio channels
|
|
*/
|
|
public interface IAudioController
|
|
{
|
|
/* Current Mixer and MixerChannel configuration */
|
|
public void setMixerChannelConfiguration( MixerChannelConfiguration entry ) throws AudioException;
|
|
public MixerChannelConfiguration getMixerChannelConfiguration() throws AudioException;
|
|
|
|
/* Audio Output(s) */
|
|
public List<AudioOutput> getAudioOutputs();
|
|
|
|
/* Controller Audio Event Listener */
|
|
public void addControllerListener( Listener<AudioEvent> listener );
|
|
public void removeControllerListener( Listener<AudioEvent> listener );
|
|
}
|