Ideas. Soundcard suport in HAL

Richard Hughes ee21rh at surrey.ac.uk
Mon Feb 28 09:31:38 PST 2005


On Sun, 27 Feb 2005 18:21:17 -0500, David Zeuthen wrote:
> I don't think we'll need a huge thread about this - just send the patch
> and we'll take it from there :-)

--- hal-spec.xml.in.old 2005-02-28 17:27:42.000000000 +0000
+++ hal-spec.xml.in     2005-02-28 17:29:29.000000000 +0000
@@ -2811,6 +2811,95 @@
       </informaltable>
     </sect2>

+   <sect2 id="device-properties-alsa">
+      <title><literal>alsa</literal> namespace</title>
+      <para>
+
+       Device objects with the capability <literal>alsa</literal>
+       represent all the streams available through ALSA on a soundcard.
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>alsa.card</literal> (int)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>
+               Card number in system as registered by ALSA.
+             </entry>
+            </row>
+            <row>
+              <entry><literal>alsa.device</literal> (int)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>
+               Device number assigned by ALSA for the current card.
+             </entry>
+            </row>
+            <row>
+              <entry><literal>alsa.id</literal> (string)</entry>
+              <entry>
+                Examples: <literal>I82801DBICH4</literal>, <literal>MP3</literal>
+             </entry>
+              <entry>No</entry>
+              <entry>
+               The ALSA ID used to represent the device.
+             </entry>
+           </row>
+            <row>
+              <entry><literal>alsa.physical_device</literal> (int)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>
+               The physical device the ALSA stream is bound to.
+             </entry>
+           </row>
+            <row>
+              <entry><literal>alsa.stream</literal> (string)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>
+               The direction of the stream.
+             </entry>
+            </row>
+           <row>
+             <entry></entry>
+             <entry><literal>capture</literal></entry>
+             <entry></entry>
+             <entry>
+               Stream is capture device.
+             </entry>
+           </row>
+           <row>
+             <entry></entry>
+             <entry><literal>playback</literal></entry>
+             <entry></entry>
+             <entry>
+               Stream is playback device.
+             </entry>
+           </row>
+           <row>
+             <entry></entry>
+             <entry><literal>unknown</literal></entry>
+             <entry></entry>
+             <entry>
+               Stream is direction is unknown.
+             </entry>
+           </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </sect2>

     <sect2 id="device-properties-camera">
       <title><literal>camera</literal> namespace</title>


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list