renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -330,7 +330,7 @@
|
||||
\input view.tex
|
||||
\input vlbox.tex
|
||||
\input vscroll.tex
|
||||
\input wave.tex
|
||||
\input sound.tex
|
||||
\input window.tex
|
||||
\input windowdc.tex
|
||||
\input wnddisbl.tex
|
||||
|
@@ -68,7 +68,7 @@ More advanced or rarely used GUI classes:
|
||||
\item{ \helpref{wxSplashScreen}{wxsplashscreen} }
|
||||
\item{ \helpref{wxTaskBarIcon}{wxtaskbaricon} }
|
||||
\item{ wxTipDialog }
|
||||
\item{ \helpref{wxWave}{wxwave} }
|
||||
\item{ \helpref{wxSound}{wxsound} }
|
||||
\item{ \helpref{wxWizard}{wxwizard} }
|
||||
\item{ \helpref{wxSashLayoutWindow}{wxsashlayoutwindow} }
|
||||
\item{ \helpref{wxSashWindow}{wxsashwindow} }
|
||||
|
@@ -1,4 +1,4 @@
|
||||
\section{\class{wxWave}}\label{wxwave}
|
||||
\section{\class{wxSound}}\label{wxsound}
|
||||
|
||||
This class represents a short wave file, in Windows WAV format, that
|
||||
can be stored in memory and played. Currently this class is implemented
|
||||
@@ -14,15 +14,15 @@ on Windows and Linux only.
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxWave::wxWave}\label{wxwaveconstr}
|
||||
\membersection{wxSound::wxSound}\label{wxsoundconstr}
|
||||
|
||||
\func{}{wxWave}{\void}
|
||||
\func{}{wxSound}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
\func{}{wxWave}{\param{const wxString\&}{ fileName}, \param{bool}{ isResource = false}}
|
||||
\func{}{wxSound}{\param{const wxString\&}{ fileName}, \param{bool}{ isResource = false}}
|
||||
|
||||
Constructs a wave object from a file or resource. Call \helpref{wxWave::IsOk}{wxwaveisok} to
|
||||
Constructs a wave object from a file or resource. Call \helpref{wxSound::IsOk}{wxsoundisok} to
|
||||
determine whether this succeeded.
|
||||
|
||||
\wxheading{Parameters}
|
||||
@@ -31,13 +31,13 @@ determine whether this succeeded.
|
||||
|
||||
\docparam{isResource}{true if {\it fileName} is a resource, false if it is a filename.}
|
||||
|
||||
\membersection{wxWave::\destruct{wxWave}}
|
||||
\membersection{wxSound::\destruct{wxSound}}
|
||||
|
||||
\func{}{\destruct{wxWave}}{\void}
|
||||
\func{}{\destruct{wxSound}}{\void}
|
||||
|
||||
Destroys the wxWave object.
|
||||
Destroys the wxSound object.
|
||||
|
||||
\membersection{wxWave::Create}\label{wxwavecreate}
|
||||
\membersection{wxSound::Create}\label{wxsoundcreate}
|
||||
|
||||
\func{bool}{Create}{\param{const wxString\&}{ fileName}, \param{bool}{ isResource = false}}
|
||||
|
||||
@@ -53,13 +53,13 @@ Constructs a wave object from a file or resource.
|
||||
|
||||
true if the call was successful, false otherwise.
|
||||
|
||||
\membersection{wxWave::IsOk}\label{wxwaveisok}
|
||||
\membersection{wxSound::IsOk}\label{wxsoundisok}
|
||||
|
||||
\constfunc{bool}{IsOk}{\void}
|
||||
|
||||
Returns true if the object contains a successfully loaded file or resource, false otherwise.
|
||||
|
||||
\membersection{wxWave::Play}\label{wxwaveplay}
|
||||
\membersection{wxSound::Play}\label{wxsoundplay}
|
||||
|
||||
\constfunc{bool}{Play}{\param{bool}{ async = true}, \param{bool}{ looped = false}}
|
||||
|
@@ -438,7 +438,7 @@ The sockets sample is work in progress. Some things to do:
|
||||
|
||||
\subsection{Sound sample}\label{samplesound}
|
||||
|
||||
The {\tt sound} sample shows how to use \helpref{wxWave}{wxwave} for simple
|
||||
The {\tt sound} sample shows how to use \helpref{wxSound}{wxsound} for simple
|
||||
audio output (e.g. notifications).
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user