mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Updates pull request from Roman Tsypuk to convert the build system from
ant to gradle. Removes linux and windows application launch scripts and produces an executable jar with all resources included.
This commit is contained in:
36
src/main/java/io/github/dsheirer/audio/AudioEvent.java
Normal file
36
src/main/java/io/github/dsheirer/audio/AudioEvent.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package io.github.dsheirer.audio;
|
||||
|
||||
public class AudioEvent
|
||||
{
|
||||
private Type mType;
|
||||
private String mChannel;
|
||||
|
||||
public AudioEvent( Type event, String channel )
|
||||
{
|
||||
mType = event;
|
||||
mChannel = channel;
|
||||
}
|
||||
|
||||
public Type getType()
|
||||
{
|
||||
return mType;
|
||||
}
|
||||
|
||||
public String getChannel()
|
||||
{
|
||||
return mChannel;
|
||||
}
|
||||
|
||||
public enum Type
|
||||
{
|
||||
AUDIO_MUTED,
|
||||
AUDIO_UNMUTED,
|
||||
AUDIO_SQUELCHED,
|
||||
AUDIO_UNSQUELCHED,
|
||||
AUDIO_STARTED,
|
||||
AUDIO_STOPPED,
|
||||
AUDIO_CONTINUATION,
|
||||
AUDIO_CONFIGURATION_CHANGE_STARTED,
|
||||
AUDIO_CONFIGURATION_CHANGE_COMPLETE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user