updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / sphinxbase-oss / ad_oss.c.nosetsrc.patch
blobcdf4db1912fbf1a03f5ed648b0f9784b0ac8983d
1 --- ad_oss.c 2008-05-11 06:29:38.000000000 +0200
2 +++ ad_oss.c.new 2010-03-07 21:54:46.661728104 +0100
3 @@ -211,19 +211,6 @@
6 if (mixerFD >= 0) {
7 - if (ioctl(mixerFD, SOUND_MIXER_WRITE_RECSRC, &sourceMic) < 0) {
8 - if (errno == ENXIO)
9 - fprintf(stderr,
10 - "%s %d: can't set mic source for this device.\n",
11 - __FILE__, __LINE__);
12 - else {
13 - fprintf(stderr,
14 - "%s %d: mixer set to mic: %s\n",
15 - __FILE__, __LINE__, strerror(errno));
16 - exit(1);
17 - }
18 - }
20 /* Set the same gain for left and right channels. */
21 inputGain = inputGain << 8 | inputGain;