SF #818006: merge from release24-maint branch: add useful read-only
attributes to oss_audio_device object: 'closed', 'name', and 'mode'.
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 @@
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 @@
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: