]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/docs/latex/mmedia/sndrter.tex
Rework modal dialog code to not depend on now obsolete wxDIALOG_MODAL flag.
[wxWidgets.git] / contrib / docs / latex / mmedia / sndrter.tex
index 67d39bce7b0b1edfe061f2dc331a7e246fcfcc4a..4f9dba3cb0a44e123cc6258f3b8568e0dbe6252d 100644 (file)
@@ -6,8 +6,8 @@
 
 \section{\class{wxSoundRouterStream}}\label{wxsoundrouterstream}
 
-
-Codec router class
+This is the router "codec" class. It should do codec routing when the device
+driver does not deal with a format.
 
 \wxheading{Derived from}
 
@@ -17,43 +17,21 @@ Codec router class
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
-
 \membersection{wxSoundRouterStream::wxSoundRouterStream}\label{wxsoundrouterstreamwxsoundrouterstream}
-
 \func{}{wxSoundRouterStream}{\param{wxSoundStream\& }{sndio}}
 
+\helpref{wxSoundCodec}{wxsoundcodec}
 
-\membersection{wxSoundRouterStream::\destruct{wxSoundRouterStream}}\label{wxsoundrouterstreamdtor}
 
+\membersection{wxSoundRouterStream::\destruct{wxSoundRouterStream}}\label{wxsoundrouterstreamdtor}
 \func{}{\destruct{wxSoundRouterStream}}{\void}
 
-
-\membersection{wxSoundRouterStream::Read}\label{wxsoundrouterstreamread}
-
-\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
-
-
-\membersection{wxSoundRouterStream::Write}\label{wxsoundrouterstreamwrite}
-
-\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
-
+Destructor.
 
 \membersection{wxSoundRouterStream::SetSoundFormat}\label{wxsoundrouterstreamsetsoundformat}
-
 \func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
 
-
-\membersection{wxSoundRouterStream::StartProduction}\label{wxsoundrouterstreamstartproduction}
-
-\func{bool}{StartProduction}{\param{int }{evt}}
-
-
-\membersection{wxSoundRouterStream::StopProduction}\label{wxsoundrouterstreamstopproduction}
-
-\func{bool}{StopProduction}{\void}
-
-
-\membersection{wxSoundRouterStream::GetBestSize}\label{wxsoundrouterstreamgetbestsize}
-
-\constfunc{wxUint32}{GetBestSize}{\void}
-
+SetSoundFormat will first try to setup the device driver with the specified
+format. If this fails, it will try to find a codec which will convert the
+input format to a valid format for the device driver. It uses an internal
+codec database.