Class SoundCollection

All Implemented Interfaces:
GenericRecord

public final class SoundCollection extends RecordContainer
Is a container for all sound related atoms and containers. It contains:
  • 1. SoundCollAtom (2021)
  • 2. Sound (2022), for each sound, if any
  • Method Details

    • getRecordType

      public long getRecordType()
      Returns the type (held as a little endian in bytes 3 and 4) that this class handles.
      Specified by:
      getRecordType in class Record
      Returns:
      the record type.
    • writeOut

      public void writeOut(OutputStream out) throws IOException
      Have the contents printer out into an OutputStream, used when writing a file back out to disk.
      Specified by:
      writeOut in class Record
      Parameters:
      out - the output stream.
      Throws:
      IOException - if there was an error writing to the stream.