~ubuntu-branches/ubuntu/lucid/alsa-lib/lucid

« back to all changes in this revision

Viewing changes to debian/patches/Add-IEC958-status-bits-support-to-SB-XFi.conf.patch

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-11-04 19:04:11 UTC
  • mfrom: (1.1.12 upstream) (2.2.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091104190411-igse8f4bzca8dq5x
Tags: 1.0.21a-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules:
    + Don't bail when removing include/alsa
  - debian/control: Add Vcs-Bzr URI
  - Add configuration files for bluetooth/bluez-alsa and pulseaudio
  - debian/libasound2.install: Ship smixer plugins for native and bi-arch
    packages
  - drop libcxxtools-dev build dependency, its in universe
  - debian/patches/Fix-fpe-snd_pcm_mmap_begin.patch: Handle attempts to
    divide by zero

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From bb956b7b70cfa1d0a325e49fecfab7bbe573222b Mon Sep 17 00:00:00 2001
2
 
From: Takashi Iwai <tiwai@suse.de>
3
 
Date: Tue, 2 Jun 2009 17:21:26 +0200
4
 
Subject: [PATCH] Add IEC958 status bits support to SB-XFi.conf
5
 
 
6
 
Signed-off-by: Takashi Iwai <tiwai@suse.de>
7
 
---
8
 
 src/conf/cards/SB-XFi.conf |   32 ++++++++++++++++++++++++++++----
9
 
 1 files changed, 28 insertions(+), 4 deletions(-)
10
 
 
11
 
diff --git a/src/conf/cards/SB-XFi.conf b/src/conf/cards/SB-XFi.conf
12
 
index c9f3c5f..f819731 100644
13
 
--- a/src/conf/cards/SB-XFi.conf
14
 
+++ b/src/conf/cards/SB-XFi.conf
15
 
@@ -79,8 +79,32 @@ SB-XFi.pcm.iec958.0 {
16
 
        @args.AES3 {
17
 
                type integer
18
 
        }
19
 
-       type hw
20
 
-       card $CARD
21
 
-       device 4
22
 
-       # FIXME: AES status bits
23
 
+       type asym
24
 
+       playback.pcm {
25
 
+               type hooks
26
 
+               slave.pcm {
27
 
+                       type hw
28
 
+                       card $CARD
29
 
+                       device 4
30
 
+               }
31
 
+               hooks.0 {
32
 
+                       type ctl_elems
33
 
+                       hook_args [
34
 
+                       {
35
 
+                               interface PCM
36
 
+                               name "IEC958 Playback PCM Stream"
37
 
+                               device 4
38
 
+                               lock true
39
 
+                               preserve true
40
 
+                               value [ $AES0 $AES1 $AES2 $AES3 ]
41
 
+                       }
42
 
+                       ]
43
 
+               }
44
 
+       }
45
 
+       capture.pcm {
46
 
+               type hw
47
 
+               card $CARD
48
 
+               device 4
49
 
+       }
50
 
+       hint.device 4
51
 
 }
52
 
1.6.3.3
53