-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathOkiOutputStream.java
More file actions
37 lines (30 loc) · 851 Bytes
/
OkiOutputStream.java
File metadata and controls
37 lines (30 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Copyright (c) 2006 by Naohide Sano, All rights reserved.
*
* Programmed by Naohide Sano
*/
package vavi.sound.adpcm.oki;
import java.io.OutputStream;
import java.nio.ByteOrder;
import vavi.sound.adpcm.AdpcmOutputStream;
import vavi.sound.adpcm.Codec;
/**
* OKI OutputStream.
*
* @author <a href="mailto:umjammer@gmail.com">Naohide Sano</a> (nsano)
* @version 0.00 060122 nsano initial version <br>
*/
public class OkiOutputStream extends AdpcmOutputStream {
@Override
protected Codec getCodec() {
return new Oki();
}
/**
* {@link vavi.io.BitOutputStream} is 4bit little endian fixed
* @param out ADPCM
* @param byteOrder byte order for #write(int)
*/
public OkiOutputStream(OutputStream out, ByteOrder byteOrder) {
super(out, byteOrder, 4, ByteOrder.LITTLE_ENDIAN);
}
}