Initial commit
This commit is contained in:
21
api/src/main/java/com/github/gtache/autosubtitle/Audio.java
Normal file
21
api/src/main/java/com/github/gtache/autosubtitle/Audio.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.github.gtache.autosubtitle;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* Represents an audio
|
||||
*/
|
||||
public interface Audio {
|
||||
|
||||
/**
|
||||
* @return The audio input stream
|
||||
* @throws IOException If an I/O error occurs
|
||||
*/
|
||||
InputStream getInputStream() throws IOException;
|
||||
|
||||
/**
|
||||
* @return The audio info
|
||||
*/
|
||||
AudioInfo info();
|
||||
}
|
||||
Reference in New Issue
Block a user