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 size of the buffer actually allocated is the product of the maximum frame size stored in the THP movie data header (<CODE>THPHeader</CODE>) and <CODE>READ_BUFFER_NUM</CODE>. <CODE>READ_BUFFER_NUM</CODE> is defined as follows. </p> 17 18<pre><CODE> 19#define READ_BUFFER_NUM 10 20</CODE></pre> 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 held within 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<pre><CODE> 26#define AUDIO_BUFFER_NUM 3 27</CODE></pre> 28 29 30<H2>See Also</H2> 31 32<H2>Revision History</H2> 33 34</body> 35</html>