+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
-<!--NewPage-->\r
-<HTML>\r
-<HEAD>\r
-<!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:29 CET 2009 -->\r
-<TITLE>\r
-NullAudioPlayer (FreeTTS 1.2)\r
-</TITLE>\r
-\r
-<META NAME="keywords" CONTENT="com.sun.speech.freetts.audio.NullAudioPlayer class">\r
-\r
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">\r
-\r
-<SCRIPT type="text/javascript">\r
-function windowTitle()\r
-{\r
- parent.document.title="NullAudioPlayer (FreeTTS 1.2)";\r
-}\r
-</SCRIPT>\r
-\r
-</HEAD>\r
-\r
-<BODY BGCOLOR="white" onload="windowTitle();">\r
-\r
-
-<!-- ========= START OF TOP NAVBAR ======= -->\r
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
-<TR>\r
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
- <TR ALIGN="center" VALIGN="top">\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>\r
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>\r
- </TR>\r
-</TABLE>\r
-</TD>\r
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
-</EM>\r
-</TD>\r
-</TR>\r
-\r
-<TR>\r
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
- <A HREF="../../../../../com/sun/speech/freetts/audio/MultiFileAudioPlayer.html" title="class in com.sun.speech.freetts.audio"><B>PREV CLASS</B></A> \r
- <A HREF="../../../../../com/sun/speech/freetts/audio/RawFileAudioPlayer.html" title="class in com.sun.speech.freetts.audio"><B>NEXT CLASS</B></A></FONT></TD>\r
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
- <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> \r
- <A HREF="NullAudioPlayer.html" target="_top"><B>NO FRAMES</B></A> \r
- <SCRIPT type="text/javascript">\r
- <!--\r
- if(window==top) {\r
- document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
- }\r
- //-->\r
-</SCRIPT>\r
-<NOSCRIPT>\r
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
-</NOSCRIPT>
-\r
-</FONT></TD>\r
-</TR>\r
-<TR>\r
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>\r
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>\r
-</TR>\r
-</TABLE>\r
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->\r
-\r
-<HR>\r
-<!-- ======== START OF CLASS DATA ======== -->\r
-<H2>\r
-<FONT SIZE="-1">\r
-com.sun.speech.freetts.audio</FONT>\r
-<BR>\r
-Class NullAudioPlayer</H2>\r
-<PRE>\r
-java.lang.Object\r
- <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.audio.NullAudioPlayer</B>\r
-</PRE>\r
-<DL>\r
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></DD>\r
-</DL>\r
-<HR>\r
-<DL>\r
-<DT>public class <B>NullAudioPlayer</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></DL>\r
-\r
-<P>\r
-Provides an implementation of <code>AudioPlayer</code> that sends
- all audio data to the bit bucket. The <code>NullAudioPlayer</code>
- is instrumented to provide timing metrics.\r
-<P>\r
-\r
-<P>\r
-<HR>\r
-\r
-<P>\r
-<!-- ======== NESTED CLASS SUMMARY ======== -->\r
-\r
-\r
-<!-- =========== FIELD SUMMARY =========== -->\r
-\r
-\r
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
-\r
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
-<TD COLSPAN=2><FONT SIZE="+2">\r
-<B>Constructor Summary</B></FONT></TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#NullAudioPlayer()">NullAudioPlayer</A></B>()</CODE>\r
-\r
-<BR>\r
- Constructs a NullAudioPlayer</TD>\r
-</TR>\r
-</TABLE>\r
- \r
-<!-- ========== METHOD SUMMARY =========== -->\r
-\r
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
-<TD COLSPAN=2><FONT SIZE="+2">\r
-<B>Method Summary</B></FONT></TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#begin(int)">begin</A></B>(int size)</CODE>\r
-\r
-<BR>\r
- Starts the output of a set of data</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#cancel()">cancel</A></B>()</CODE>\r
-\r
-<BR>\r
- Cancels all queued output. </TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#close()">close</A></B>()</CODE>\r
-\r
-<BR>\r
- Waits for all audio playback to stop, and closes this AudioPlayer.</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> boolean</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#drain()">drain</A></B>()</CODE>\r
-\r
-<BR>\r
- Waits for all queued audio to be played</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> boolean</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#end()">end</A></B>()</CODE>\r
-\r
-<BR>\r
- Marks the end of a set of data</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> javax.sound.sampled.AudioFormat</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#getAudioFormat()">getAudioFormat</A></B>()</CODE>\r
-\r
-<BR>\r
- Retrieves the audio format for this player</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> long</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#getTime()">getTime</A></B>()</CODE>\r
-\r
-<BR>\r
- Gets the amount of played since the last resetTime
- Currently not supported.</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> float</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#getVolume()">getVolume</A></B>()</CODE>\r
-\r
-<BR>\r
- Returns the current volume.</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#pause()">pause</A></B>()</CODE>\r
-\r
-<BR>\r
- Pauses the audio output</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#reset()">reset</A></B>()</CODE>\r
-\r
-<BR>\r
- Prepares for another batch of output. </TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#resetTime()">resetTime</A></B>()</CODE>\r
-\r
-<BR>\r
- Resets the audio clock</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#resume()">resume</A></B>()</CODE>\r
-\r
-<BR>\r
- Resumes audio output</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#setAudioFormat(javax.sound.sampled.AudioFormat)">setAudioFormat</A></B>(javax.sound.sampled.AudioFormat format)</CODE>\r
-\r
-<BR>\r
- Sets the audio format for this player</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#setVolume(float)">setVolume</A></B>(float volume)</CODE>\r
-\r
-<BR>\r
- Sets the current volume.</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#showMetrics()">showMetrics</A></B>()</CODE>\r
-\r
-<BR>\r
- Shows metrics for this audio player</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> void</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#startFirstSampleTimer()">startFirstSampleTimer</A></B>()</CODE>\r
-\r
-<BR>\r
- Starts the first sample timer</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> boolean</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#write(byte[])">write</A></B>(byte[] audioData)</CODE>\r
-\r
-<BR>\r
- Writes the given bytes to the audio stream</TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
-<CODE> boolean</CODE></FONT></TD>\r
-<TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/audio/NullAudioPlayer.html#write(byte[], int, int)">write</A></B>(byte[] bytes,
- int offset,
- int size)</CODE>\r
-\r
-<BR>\r
- Writes the given bytes to the audio stream</TD>\r
-</TR>\r
-</TABLE>\r
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
-<TD><B>Methods inherited from class java.lang.Object</B></TD>\r
-</TR>\r
-<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
-</TR>\r
-</TABLE>\r
- \r
-<P>\r
-\r
-<!-- ============ FIELD DETAIL =========== -->\r
-\r
-\r
-<!-- ========= CONSTRUCTOR DETAIL ======== -->\r
-\r
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
-<TD COLSPAN=1><FONT SIZE="+2">\r
-<B>Constructor Detail</B></FONT></TD>\r
-</TR>\r
-</TABLE>\r
-\r
-<A NAME="NullAudioPlayer()"><!-- --></A><H3>\r
-NullAudioPlayer</H3>\r
-<PRE>\r
-public <B>NullAudioPlayer</B>()</PRE>\r
-<DL>\r
-<DD>Constructs a NullAudioPlayer\r
-<P>\r
-</DL>\r
-\r
-<!-- ============ METHOD DETAIL ========== -->\r
-\r
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
-<TD COLSPAN=1><FONT SIZE="+2">\r
-<B>Method Detail</B></FONT></TD>\r
-</TR>\r
-</TABLE>\r
-\r
-<A NAME="setAudioFormat(javax.sound.sampled.AudioFormat)"><!-- --></A><H3>\r
-setAudioFormat</H3>\r
-<PRE>\r
-public void <B>setAudioFormat</B>(javax.sound.sampled.AudioFormat format)</PRE>\r
-<DL>\r
-<DD>Sets the audio format for this player\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#setAudioFormat(javax.sound.sampled.AudioFormat)">setAudioFormat</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-<DT><B>Parameters:</B><DD><CODE>format</CODE> - the audio format</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="getAudioFormat()"><!-- --></A><H3>\r
-getAudioFormat</H3>\r
-<PRE>\r
-public javax.sound.sampled.AudioFormat <B>getAudioFormat</B>()</PRE>\r
-<DL>\r
-<DD>Retrieves the audio format for this player\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#getAudioFormat()">getAudioFormat</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-
-<DT><B>Returns:</B><DD>the current audio format.</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="cancel()"><!-- --></A><H3>\r
-cancel</H3>\r
-<PRE>\r
-public void <B>cancel</B>()</PRE>\r
-<DL>\r
-<DD>Cancels all queued output. Current 'write' call will return
- false\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#cancel()">cancel</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="pause()"><!-- --></A><H3>\r
-pause</H3>\r
-<PRE>\r
-public void <B>pause</B>()</PRE>\r
-<DL>\r
-<DD>Pauses the audio output\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#pause()">pause</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="reset()"><!-- --></A><H3>\r
-reset</H3>\r
-<PRE>\r
-public void <B>reset</B>()</PRE>\r
-<DL>\r
-<DD>Prepares for another batch of output. Larger groups of output
- (such as all output associated with a single FreeTTSSpeakable)
- should be grouped between a reset/drain pair.\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="resume()"><!-- --></A><H3>\r
-resume</H3>\r
-<PRE>\r
-public void <B>resume</B>()</PRE>\r
-<DL>\r
-<DD>Resumes audio output\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#resume()">resume</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="close()"><!-- --></A><H3>\r
-close</H3>\r
-<PRE>\r
-public void <B>close</B>()</PRE>\r
-<DL>\r
-<DD>Waits for all audio playback to stop, and closes this AudioPlayer.\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="getVolume()"><!-- --></A><H3>\r
-getVolume</H3>\r
-<PRE>\r
-public float <B>getVolume</B>()</PRE>\r
-<DL>\r
-<DD>Returns the current volume.\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#getVolume()">getVolume</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-
-<DT><B>Returns:</B><DD>the current volume (between 0 and 1)</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="setVolume(float)"><!-- --></A><H3>\r
-setVolume</H3>\r
-<PRE>\r
-public void <B>setVolume</B>(float volume)</PRE>\r
-<DL>\r
-<DD>Sets the current volume.\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#setVolume(float)">setVolume</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-<DT><B>Parameters:</B><DD><CODE>volume</CODE> - the current volume (between 0 and 1)</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="write(byte[])"><!-- --></A><H3>\r
-write</H3>\r
-<PRE>\r
-public boolean <B>write</B>(byte[] audioData)</PRE>\r
-<DL>\r
-<DD>Writes the given bytes to the audio stream\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#write(byte[])">write</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-<DT><B>Parameters:</B><DD><CODE>audioData</CODE> - array of audio data
-<DT><B>Returns:</B><DD><code>true</code> of the write completed successfully,
- <code> false </code>if the write was cancelled.</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="begin(int)"><!-- --></A><H3>\r
-begin</H3>\r
-<PRE>\r
-public void <B>begin</B>(int size)</PRE>\r
-<DL>\r
-<DD>Starts the output of a set of data\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#begin(int)">begin</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-<DT><B>Parameters:</B><DD><CODE>size</CODE> - the size of data between now and the end</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="end()"><!-- --></A><H3>\r
-end</H3>\r
-<PRE>\r
-public boolean <B>end</B>()</PRE>\r
-<DL>\r
-<DD>Marks the end of a set of data\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#end()">end</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-
-<DT><B>Returns:</B><DD><code>true</code> if the audio was output properly,
- <code> false</code> if the output was canceled
- or interrupted.</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="write(byte[], int, int)"><!-- --></A><H3>\r
-write</H3>\r
-<PRE>\r
-public boolean <B>write</B>(byte[] bytes,
- int offset,
- int size)</PRE>\r
-<DL>\r
-<DD>Writes the given bytes to the audio stream\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#write(byte[], int, int)">write</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-<DT><B>Parameters:</B><DD><CODE>bytes</CODE> - audio data to write to the device<DD><CODE>offset</CODE> - the offset into the buffer<DD><CODE>size</CODE> - the size into the buffer
-<DT><B>Returns:</B><DD><code>true</code> of the write completed successfully,
- <code> false </code>if the write was cancelled.</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="startFirstSampleTimer()"><!-- --></A><H3>\r
-startFirstSampleTimer</H3>\r
-<PRE>\r
-public void <B>startFirstSampleTimer</B>()</PRE>\r
-<DL>\r
-<DD>Starts the first sample timer\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#startFirstSampleTimer()">startFirstSampleTimer</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="drain()"><!-- --></A><H3>\r
-drain</H3>\r
-<PRE>\r
-public boolean <B>drain</B>()</PRE>\r
-<DL>\r
-<DD>Waits for all queued audio to be played\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#drain()">drain</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-
-<DT><B>Returns:</B><DD><code>true</code> if the audio played to completion,
- <code> false </code>if the audio was stopped</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="getTime()"><!-- --></A><H3>\r
-getTime</H3>\r
-<PRE>\r
-public long <B>getTime</B>()</PRE>\r
-<DL>\r
-<DD>Gets the amount of played since the last resetTime
- Currently not supported.\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#getTime()">getTime</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-
-<DT><B>Returns:</B><DD>the amount of audio in milliseconds</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="resetTime()"><!-- --></A><H3>\r
-resetTime</H3>\r
-<PRE>\r
-public void <B>resetTime</B>()</PRE>\r
-<DL>\r
-<DD>Resets the audio clock\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#resetTime()">resetTime</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<HR>\r
-\r
-<A NAME="showMetrics()"><!-- --></A><H3>\r
-showMetrics</H3>\r
-<PRE>\r
-public void <B>showMetrics</B>()</PRE>\r
-<DL>\r
-<DD>Shows metrics for this audio player\r
-<P>\r
-<DD><DL>\r
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html#showMetrics()">showMetrics</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></DL>\r
-</DD>\r
-<DD><DL>\r
-</DL>\r
-</DD>\r
-</DL>\r
-<!-- ========= END OF CLASS DATA ========= -->\r
-<HR>\r
-\r
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->\r
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
-<TR>\r
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
- <TR ALIGN="center" VALIGN="top">\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>\r
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>\r
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>\r
- </TR>\r
-</TABLE>\r
-</TD>\r
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
-</EM>\r
-</TD>\r
-</TR>\r
-\r
-<TR>\r
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
- <A HREF="../../../../../com/sun/speech/freetts/audio/MultiFileAudioPlayer.html" title="class in com.sun.speech.freetts.audio"><B>PREV CLASS</B></A> \r
- <A HREF="../../../../../com/sun/speech/freetts/audio/RawFileAudioPlayer.html" title="class in com.sun.speech.freetts.audio"><B>NEXT CLASS</B></A></FONT></TD>\r
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
- <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> \r
- <A HREF="NullAudioPlayer.html" target="_top"><B>NO FRAMES</B></A> \r
- <SCRIPT type="text/javascript">\r
- <!--\r
- if(window==top) {\r
- document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
- }\r
- //-->\r
-</SCRIPT>\r
-<NOSCRIPT>\r
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
-</NOSCRIPT>
-\r
-</FONT></TD>\r
-</TR>\r
-<TR>\r
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>\r
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>\r
-</TR>\r
-</TABLE>\r
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->\r
-\r
-<HR>\r
-\r
-</BODY>\r
-</HTML>\r