aboutsummaryrefslogtreecommitdiff
path: root/dev/libs/pwlib/pwlib-1.10.10.diff
blob: 2e91b12703a661822e790ee80af2d4b3369ef8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- plugins/sound_oss/sound_oss.cxx.orig	2008-03-28 20:17:52.000000000 -0300
+++ plugins/sound_oss/sound_oss.cxx	2008-03-28 21:06:13.000000000 -0300
@@ -359,7 +359,7 @@
           struct stat s;
           if (lstat(devname, &s) == 0) {
             // OSS compatible audio major device numbers (OSS, SAM9407, etc)
-            static const unsigned deviceNumbers[] = { 14, 145 };
+            static const unsigned deviceNumbers[] = { 14, 145, 246 };
             for (PINDEX i = 0; i < PARRAYSIZE(deviceNumbers); i++) {
               if ((s.st_rdev >> 8) == deviceNumbers[i]) {
                 PINDEX cardnum = (s.st_rdev >> 4) & 15;