fi.helsinki.cs.ohtu.mpeg2.audio
Interface AudioFrame

All Known Implementing Classes:
MP2Frame

public interface AudioFrame


Method Summary
 double getDuration()
          Returns duration of this frame in seconds.
 void writeTo(BitOutputStream stream)
          Writes contents of this frame to the given stream.
 

Method Detail

getDuration

double getDuration()
Returns duration of this frame in seconds.

Returns:
Duration of this frame in seconds

writeTo

void writeTo(BitOutputStream stream)
             throws java.io.IOException
Writes contents of this frame to the given stream.

Parameters:
stream - Stream to write this frame to
Throws:
java.io.IOException