mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
#30 - WIP Streaming audio support. Adds Shoutcast V1 handler.
This commit is contained in:
18
src/org/jma/encoder/audio/IAudioEncoder.java
Normal file
18
src/org/jma/encoder/audio/IAudioEncoder.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package org.jma.encoder.audio;
|
||||
|
||||
/**
|
||||
* Retrieved from: http://livertmpjavapublisher.blogspot.com/2011/06/orgtritonuslowlevellameapiiaudioencoder.html
|
||||
* on 5 Sep 2016
|
||||
*/
|
||||
public interface IAudioEncoder
|
||||
{
|
||||
public int encodeBuffer(byte[] input, int offset, int encodedCount, byte[] output);
|
||||
|
||||
public int encodeFinish(byte[] input);
|
||||
|
||||
public int getInputBufferSize();
|
||||
|
||||
public int getOutputBufferSize();
|
||||
|
||||
public void close();
|
||||
}
|
||||
Reference in New Issue
Block a user