ChangeSet 1.2181.25.4, 2005/03/22 08:56:19+01:00, [EMAIL PROTECTED]

        [ALSA] emu10k1 - give the subdevices descriptive names
        
        EMU10K1/EMU10K2 driver
        Give the subdevices descriptive names, like 'ADC Capture/Standard PCM 
Playback' instead of 'EMU10K1' for
        hw:x,0 and 'Multichannel Capture/PT Playback' instead of 'EMU10K1 EFX'
        for hw:x,2.  Now that qjackctl enumerates the devices automatically,
        this is a significant usability improvement.
        
        Signed-off-by: Lee Revell <[EMAIL PROTECTED]>
        Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>



 emupcm.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


diff -Nru a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c
--- a/sound/pci/emu10k1/emupcm.c        2005-03-30 16:09:48 -08:00
+++ b/sound/pci/emu10k1/emupcm.c        2005-03-30 16:09:48 -08:00
@@ -1276,7 +1276,7 @@
 
        pcm->info_flags = 0;
        pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
-       strcpy(pcm->name, "EMU10K1");
+       strcpy(pcm->name, "ADC Capture/Standard PCM Playback");
        emu->pcm = pcm;
 
        for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; 
substream; substream = substream->next)
@@ -1311,7 +1311,7 @@
 
        pcm->info_flags = 0;
        pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
-       strcpy(pcm->name, "EMU10K1 multichannel EFX");
+       strcpy(pcm->name, "Multichannel Playback");
        emu->pcm = pcm;
 
        for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; 
substream; substream = substream->next)
@@ -1360,7 +1360,7 @@
        snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, 
&snd_emu10k1_capture_mic_ops);
 
        pcm->info_flags = 0;
-       strcpy(pcm->name, "EMU10K1 MIC");
+       strcpy(pcm->name, "Mic Capture");
        emu->pcm_mic = pcm;
 
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, 
snd_dma_pci_data(emu->pci), 64*1024, 64*1024);
@@ -1698,7 +1698,7 @@
        snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, 
&snd_emu10k1_capture_efx_ops);
 
        pcm->info_flags = 0;
-       strcpy(pcm->name, "EMU10K1 EFX");
+       strcpy(pcm->name, "Multichannel Capture/PT Playback");
        emu->pcm_efx = pcm;
        if (rpcm)
                *rpcm = pcm;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to