Packages

t

de.sciss.audiofile

AudioFileBase

trait AudioFileBase extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AudioFileBase
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def canSeek: Boolean

    Whether it is possible to call the seek method.

    Whether it is possible to call the seek method. This is the case if the file was opened directly with a file-based method instead of InputStream or OutputStream only.

  2. abstract def cleanUp(): Unit

    Flushes and closes the file.

    Flushes and closes the file. As opposed to close(), this does not throw any exceptions but simply ignores any errors.

    See also

    #close()

  3. abstract def isOpen: Boolean

    Whether or not this file is still open.

  4. abstract def isReadable: Boolean

    Whether it is possible to call the read method.

    Whether it is possible to call the read method. In general, all files opened via openRead or openWrite will be readable, but external codecs may in theory be writable only.

  5. abstract def isWritable: Boolean

    Whether it is possible to call the write method.

    Whether it is possible to call the write method. This is the case if the file was opened via openWrite.

  6. abstract def numFrames: Long

    Returns the number of frames in the file.

    Returns the number of frames in the file.

    returns

    the number of sample frames in the file. includes pending buffer content

    Exceptions thrown

    java.io.IOException this is never thrown but declared as of the InterleavedStreamFile interface

  7. abstract def position: Long

    Returns the current file pointer in sample frames

    Returns the current file pointer in sample frames

    returns

    the sample frame index which is the off for the next reader or writer operation.

    Exceptions thrown

    java.io.IOException when the position cannot be queried

  8. abstract def seek(frame: Long): AudioFileBase.this.type

    Moves the file pointer to a specific frame.

    Moves the file pointer to a specific frame.

    frame

    the sample frame which should be the new file position. this is really the sample index and not the physical file pointer.

    Annotations
    @throws(classOf[IOException])
    Exceptions thrown

    java.io.IOException when a seek error occurs or you try to seek past the file's end.

  9. abstract def spec: AudioFileSpec

    Returns a description of the audio file's specification.

  10. abstract def uri: Option[URI]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buffer(bufFrames: Int = 8192): Frames
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def fileType: AudioFileType
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def numChannels: Int

    Convenience method: Returns the number of channels in the file.

    Convenience method: Returns the number of channels in the file. Same as spec.numChannels.

    returns

    the number of channels

  17. final def position_=(frame: Long): Unit
    Annotations
    @throws(classOf[IOException])
  18. final def sampleFormat: SampleFormat
  19. final def sampleRate: Double
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped