- fd
- the FileDescriptor for the file you want to play
- offset
- the offset into the file where the data to be played starts, in bytes. It must be non-negative
- length
- the length in bytes of the data to be played. It must be non-negative.
Type Reason Java.Lang.IllegalArgumentException if the arguments are invalid
Sets the data source (FileDescriptor) to use. It is the caller's responsibility to close the file descriptor. It is safe to do so as soon as this call returns. Call this method before the rest of the methods in this class. This method may be time-consuming.