23 lines
360 B
Java
23 lines
360 B
Java
|
package com.safemobile.lib.sound;
|
||
|
|
||
|
import java.util.EventObject;
|
||
|
|
||
|
public class TCPaudioEvent extends EventObject{
|
||
|
private byte[] data;
|
||
|
private int len;
|
||
|
public TCPaudioEvent(Object source, byte[] _data, int _len) {
|
||
|
super(source);
|
||
|
data =_data;
|
||
|
len = _len;
|
||
|
}
|
||
|
public byte[] data() {
|
||
|
return data;
|
||
|
}
|
||
|
|
||
|
public int len()
|
||
|
{
|
||
|
return len;
|
||
|
}
|
||
|
|
||
|
}
|