Lines 1-7
Link Here
|
1 |
Index: oss_mixer.c |
1 |
--- oss_mixer.c.orig 2004-08-20 00:07:27.000000000 +0400 |
2 |
diff -u -p oss_mixer.c.orig oss_mixer.c |
2 |
+++ oss_mixer.c 2015-02-01 20:21:32.000000000 +0300 |
3 |
--- oss_mixer.c.orig Wed May 19 04:39:27 2004 |
|
|
4 |
+++ oss_mixer.c Wed May 19 04:39:43 2004 |
5 |
@@ -32,6 +32,9 @@ |
3 |
@@ -32,6 +32,9 @@ |
6 |
#else |
4 |
#else |
7 |
#include <sys/soundcard.h> |
5 |
#include <sys/soundcard.h> |
Lines 12-14
Link Here
|
12 |
|
10 |
|
13 |
#include "mixer.h" |
11 |
#include "mixer.h" |
14 |
#include "oss_mixer.h" |
12 |
#include "oss_mixer.h" |
|
|
13 |
@@ -126,7 +129,7 @@ |
14 |
long amount; |
15 |
ioctl(OSSMIXER(mixer)->fd,MIXER_READ(OSSMIXER(mixer)->table[devid]),&amount); |
16 |
*left = amount & 0xff; |
17 |
- *right = amount >> 8; |
18 |
+ *right = (amount >> 8) & 0xff; |
19 |
} |
20 |
|
21 |
static void |