Files
scummex/help/specFRMT.html
2003-09-18 16:27:06 +00:00

67 lines
1.7 KiB
HTML

<HTML>
<HEAD>
<TITLE>FRMT</TITLE>
<META NAME="resource-type" CONTENT="document">
</HEAD>
<FONT SIZE="+2" FACE="Arial">
<B>FRMT</B>
</FONT><P>
<FONT FACE="Arial" SIZE="-1">
FRMT contains the WAV format description of an <A HREF="speciMUS.html">iMUS</A>
chunk, that is the samplerate, number of channels etc. Actually, FRMT works
as a hook (just as <A HREF="specJUMP.html">JUMP</A>, REGN
etc.), i.e. it has a been given a position inside the WAV <A HREF="specDATA.html">DATA</A>
(which is usually at the start of the data).<P>
</FONT>
<FONT FACE="Courier">
<TABLE CELLSPACING=1 WIDTH="100%">
<TR>
<TD WIDTH="30%" VALIGN=top>&quot;FRMT&quot;</TD>
<TD WIDTH="20%" VALIGN=top>dword</TD>
<TD WIDTH="50%"><FONT FACE="Arial" SIZE="-1">Block identifier</FONT></TD>
</TR>
<TR>
<TD VALIGN=top>dwSize</TD>
<TD VALIGN=top>dword</TD>
<TD><FONT FACE="Arial" SIZE="-1">Size in bytes (BE)</FONT></TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TR>
<TR>
<TD VALIGN=top>dwPosition</TD>
<TD VALIGN=top>dword</TD>
<TD><FONT FACE="Arial" SIZE="-1">Hook position.</FONT></TD>
</TR>
<TR>
<TD VALIGN=top>dwUnknown</TD>
<TD VALIGN=top>dword</TD>
<TD><FONT FACE="Arial" SIZE="-1">Unknown</FONT></TD>
</TR>
<TR>
<TD VALIGN=top>dwBitsPerSample</TD>
<TD VALIGN=top>dword</TD>
<TD><FONT FACE="Arial" SIZE="-1">Bits per sample - usually 12 or 16.</FONT></TD>
</TR>
<TR>
<TD VALIGN=top>dwSampleRate</TD>
<TD VALIGN=top>dword</TD>
<TD><FONT FACE="Arial" SIZE="-1">Samplerate in hz - usually 11025 or 22050.</FONT></TD>
</TR>
<TR>
<TD VALIGN=top>nChannels</TD>
<TD VALIGN=top>dword</TD>
<TD><FONT FACE="Arial" SIZE="-1">Number of channels - 1 = mono, 2 = stereo.</FONT></TD>
</TR>
</TABLE>
</FONT>
</BODY>
</HTML>