mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nuno Monteiro <nuno@itsari.org>
To: linux-kernel@vger.kernel.org
Subject: [BUG/PATCH] OSS/sb_mixer.c is broken on 2.5.59
Date: Fri, 17 Jan 2003 16:17:52 +0000	[thread overview]
Message-ID: <20030117161752.GC14939@hobbes.itsari.int> (raw)

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

Hi,

I know OSS is not all that supported, but it has been mostly working for 
the past 2.5 revisions. However, 2.5.59 broke it. Here is the fix, it 
allows sound/oss/sb_mixer.c to comple again -- I havent booted it yet, 
but its trivial enough to spot it from a mile away :)

Regards,


		Nuno

[-- Attachment #2: sb_mixer.c.diff --]
[-- Type: text/plain, Size: 733 bytes --]

--- linux-2.5.59/sound/oss/sb_mixer.c.orig	Fri Jan 17 15:40:41 2003
+++ linux-2.5.59/sound/oss/sb_mixer.c	Fri Jan 17 15:40:55 2003
@@ -45,7 +45,7 @@
 					SOUND_MASK_TREBLE|SOUND_MASK_SPEAKER )
 
 #define SB16_RECORDING_DEVICES		(SOUND_MASK_SYNTH | \
-					SOUND_MASK_LINE | \ SOUND_MASK_MIC | \
+					SOUND_MASK_LINE | SOUND_MASK_MIC | \
 					SOUND_MASK_CD)
 
 #define SB16_OUTFILTER_DEVICES		(SOUND_MASK_LINE | SOUND_MASK_MIC | \
@@ -55,7 +55,7 @@
 					SOUND_MASK_SPEAKER | \
 					SOUND_MASK_LINE | SOUND_MASK_MIC | \
 					SOUND_MASK_CD | SOUND_MASK_IGAIN | \
-					SOUND_MASK_OGAIN | \ SOUND_MASK_VOLUME | \
+					SOUND_MASK_OGAIN | SOUND_MASK_VOLUME | \
 					SOUND_MASK_BASS | SOUND_MASK_TREBLE | \
 					SOUND_MASK_IMIX)
 

             reply	other threads:[~2003-01-17 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 16:17 Nuno Monteiro [this message]
2003-01-21 14:24 ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030117161752.GC14939@hobbes.itsari.int \
    --to=nuno@itsari.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®