1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>The THP Simple Player Constants</title>
10</head>
11
12<body>
13
14<h1>The THP Simple Player Constants</h1>
15<h2><A NAME="READ_BUFFER_NUM"><CODE>READ_BUFFER_NUM</CODE></A></h2>
16<p><CODE>READ_BUFFER_NUM</CODE> indicates the size of the buffer held within the simple player that reads from an optical disc. The buffer size actually allocated is the maximum frame size in the THP movie data header (<CODE>THPHeader</CODE>) multiplied by <CODE>READ_BUFFER_NUM</CODE>. <CODE>READ_BUFFER_NUM</CODE> is defined as follows.</p>
17
18<dl><dd><pre class="construction">
19#define READ_BUFFER_NUM 10
20</pre></dd></dl>
21
22<h2><A NAME="AUDIO_BUFFER_NUM"><CODE>AUDIO_BUFFER_NUM</CODE></A></h2>
23<p><CODE>AUDIO_BUFFER_NUM</CODE> indicates the size of the audio buffer that is internally maintained by the simple player. The size of the buffer actually allocated is the product of the maximum number of samples (x4) stored in the THP movie data header (<CODE>THPHeader</CODE>) and <CODE>AUDIO_BUFFER_NUM</CODE>. <CODE>AUDIO_BUFFER_NUM</CODE> is defined as follows.</p>
24
25<dl><dd><pre class="construction">
26#define AUDIO_BUFFER_NUM 3
27</pre></dd></dl>
28
29
30<H2>See Also</H2>
31<p>None.</p>
32
33<H2>Revision History</H2>
34<p>
352006/03/01 Initial version.<br>
36</p>
37
38<hr><p>CONFIDENTIAL</p></body>
39</html>