Loading media/java/android/media/DataSourceCallback.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -47,7 +47,7 @@ public abstract class DataSourceCallback implements Closeable { * @param offset the offset within buffer to read the data into. * @param offset the offset within buffer to read the data into. * @param size the number of bytes to read. * @param size the number of bytes to read. * @throws IOException on fatal errors. * @throws IOException on fatal errors. * @return the number of bytes read, or -1 if there was an error. * @return the number of bytes read, or -1 if end of stream is reached. */ */ public abstract int readAt(long position, byte[] buffer, int offset, int size) public abstract int readAt(long position, byte[] buffer, int offset, int size) throws IOException; throws IOException; Loading media/java/android/media/MediaDataSource.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -46,7 +46,7 @@ public abstract class MediaDataSource implements Closeable { * @param offset the offset within buffer to read the data into. * @param offset the offset within buffer to read the data into. * @param size the number of bytes to read. * @param size the number of bytes to read. * @throws IOException on fatal errors. * @throws IOException on fatal errors. * @return the number of bytes read, or -1 if there was an error. * @return the number of bytes read, or -1 if end of stream is reached. */ */ public abstract int readAt(long position, byte[] buffer, int offset, int size) public abstract int readAt(long position, byte[] buffer, int offset, int size) throws IOException; throws IOException; Loading Loading
media/java/android/media/DataSourceCallback.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -47,7 +47,7 @@ public abstract class DataSourceCallback implements Closeable { * @param offset the offset within buffer to read the data into. * @param offset the offset within buffer to read the data into. * @param size the number of bytes to read. * @param size the number of bytes to read. * @throws IOException on fatal errors. * @throws IOException on fatal errors. * @return the number of bytes read, or -1 if there was an error. * @return the number of bytes read, or -1 if end of stream is reached. */ */ public abstract int readAt(long position, byte[] buffer, int offset, int size) public abstract int readAt(long position, byte[] buffer, int offset, int size) throws IOException; throws IOException; Loading
media/java/android/media/MediaDataSource.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -46,7 +46,7 @@ public abstract class MediaDataSource implements Closeable { * @param offset the offset within buffer to read the data into. * @param offset the offset within buffer to read the data into. * @param size the number of bytes to read. * @param size the number of bytes to read. * @throws IOException on fatal errors. * @throws IOException on fatal errors. * @return the number of bytes read, or -1 if there was an error. * @return the number of bytes read, or -1 if end of stream is reached. */ */ public abstract int readAt(long position, byte[] buffer, int offset, int size) public abstract int readAt(long position, byte[] buffer, int offset, int size) throws IOException; throws IOException; Loading