All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] - ALSA - HDA - Remove "PCM Playback Volume" and "PCM Playback Switch" from Virtual Master of realtek codec
@ 2011-05-20  6:07 Raymond Yau
  2011-05-20  7:04 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond Yau @ 2011-05-20  6:07 UTC (permalink / raw)
  To: ALSA Development Mailing List

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

Afer commit aa202455eec51699e44f658530728162cefa1307 , none of realtek
codec has hardware volume control "PCM Playback Volume" and "PCM
Playback Switch"

As Virtual Master require all slave controls must have same number of
step and dB range

[-- Attachment #2: 0001-Remove-PCM-Playback-Volume-and-Switch-from-Virtual-Master.patch --]
[-- Type: application/octet-stream, Size: 1151 bytes --]

From 864716f6268691f4c4e4c3d405d416f3a9b80e2f Mon Sep 17 00:00:00 2001
From: Raymond Yau <superquad.vortex2@gmail.com>
Date: Fri, 20 May 2011 13:04:04 +0800
Subject: [PATCH] - ALSA - HDA - Remove "PCM Playback Volume" and "PCM Playback Switch" from Virtual Master of realtek

Afer commit aa202455eec51699e44f658530728162cefa1307 , none of realtek codec has hardware volume control "PCM Playback Volume" and "PCM Playback Switch"

As Virtual Master require all slave controls must have same number of step and dB range

Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 49c6062..c9fdf8d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3236,7 +3236,6 @@ static const char * const alc_slave_vols[] = {
 	"Speaker Playback Volume",
 	"Mono Playback Volume",
 	"Line-Out Playback Volume",
-	"PCM Playback Volume",
 	NULL,
 };
 
@@ -3251,7 +3250,6 @@ static const char * const alc_slave_sws[] = {
 	"Mono Playback Switch",
 	"IEC958 Playback Switch",
 	"Line-Out Playback Switch",
-	"PCM Playback Switch",
 	NULL,
 };
 
-- 
1.6.0.6


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] - ALSA - HDA - Remove "PCM Playback Volume" and "PCM Playback Switch" from Virtual Master of realtek codec
  2011-05-20  6:07 [PATCH] - ALSA - HDA - Remove "PCM Playback Volume" and "PCM Playback Switch" from Virtual Master of realtek codec Raymond Yau
@ 2011-05-20  7:04 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2011-05-20  7:04 UTC (permalink / raw)
  To: Raymond Yau; +Cc: ALSA Development Mailing List

At Fri, 20 May 2011 14:07:39 +0800,
Raymond Yau wrote:
> 
> Afer commit aa202455eec51699e44f658530728162cefa1307 , none of realtek
> codec has hardware volume control "PCM Playback Volume" and "PCM
> Playback Switch"
> 
> As Virtual Master require all slave controls must have same number of
> step and dB range

Applied now.  Thanks.


Takashi

> [2 0001-Remove-PCM-Playback-Volume-and-Switch-from-Virtual-Master.patch <application/octet-stream (base64)>]
> 
> [3  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-20  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-20  6:07 [PATCH] - ALSA - HDA - Remove "PCM Playback Volume" and "PCM Playback Switch" from Virtual Master of realtek codec Raymond Yau
2011-05-20  7:04 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.