Re: [Emu10k1-devel] [PATCH] EMU10K1: Juha Rjola's AC3 Passthrough for

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 12 Aug 2001 01:18:27 +0100 (BST)


> We have ac97 volumes _and_ other volumes handle with emu10k1 code. We want
> to use the ac97_codec functions for it's OSS mixer handling for both
> (storing volumes values, handling queries, etc). Those simple 2 lines
> allow us to do that. Else, we have to intercept everything and write our
> own functions to handle it.

That is fine by me.

There are really two ways we approach this

1. You add two methods for volume control into your code

2. We make ac97_codec into audio_codec and we add things to the
codec_ops structure for volume and mixer control.

For 2.4 #1 seems a lot easier

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/