1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package cn.org.hentai.jtt1078.codec;
|
| import java.util.Arrays;
|
| /**
| * Created by houcheng on 2019-12-11.
| */
| public class SilenceCodec extends AudioCodec
| {
| static final byte[] BLANK = new byte[0];
|
| @Override
| public byte[] toPCM(byte[] data)
| {
| return BLANK;
| }
|
| @Override
| public byte[] fromPCM(byte[] data)
| {
| return BLANK;
| }
| }
|
|