summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libossaudiodev.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libossaudiodev.tex')
-rw-r--r--Doc/lib/libossaudiodev.tex17
1 files changed, 16 insertions, 1 deletions
diff --git a/Doc/lib/libossaudiodev.tex b/Doc/lib/libossaudiodev.tex
index 8c8e445..762acb7 100644
--- a/Doc/lib/libossaudiodev.tex
+++ b/Doc/lib/libossaudiodev.tex
@@ -115,7 +115,7 @@ three audio parameters at once. This is more convenient, but may not be
as flexible in all cases.
The audio device objects returned by \function{open()} define the
-following methods:
+following methods and (read-only) attributes:
\begin{methoddesc}[audio device]{close}{}
Explicitly close the audio device. When you are done writing to or
@@ -289,6 +289,21 @@ Returns the number of samples that could be queued into the hardware
buffer to be played without blocking.
\end{methoddesc}
+Audio device objects also support several read-only attributes:
+
+\begin{memberdesc}[audio device]{closed}{}
+Boolean indicating whether the device has been closed.
+\end{memberdesc}
+
+\begin{memberdesc}[audio device]{name}{}
+String containing the name of the device file.
+\end{memberdesc}
+
+\begin{memberdesc}[audio device]{mode}{}
+The I/O mode for the file, either \code{"r"}, \code{"rw"}, or \code{"w"}.
+\end{memberdesc}
+
+
\subsection{Mixer Device Objects \label{mixer-device-objects}}
The mixer object provides two file-like methods: