From: "Vedran Miletić" <rivanvx@gmail.com>
To: alsa-devel mailing list <alsa-devel@alsa-project.org>
Subject: snd-ca0106
Date: Sat, 1 Nov 2008 12:22:01 +0100 [thread overview]
Message-ID: <fd3eb9bf0811010422n7e03035ah62368287567be725@mail.gmail.com> (raw)
I played with CA0106 driver a bit. I wonder if we could make it set
name for card and chip, in similar way to snd-emu10k1 and others.
So... in emu10k1.c we have:
180 strcpy(card->driver, emu->card_capabilities->driver);
181 strcpy(card->shortname, emu->card_capabilities->name);
While in ca0106_main.c there is:
1369 strcpy(card->driver, "CA0106");
1370 strcpy(card->shortname, "CA0106");
Can it be changed? I want it do display Card in alsamixer as a board
name from ca0106_card_capabailities list and Chip name to be CA0106
[chip->model].
Also, it would be great if we could name the four PCMs, like
hw0,0 - card_name Front
hw0,1 - card_name Rear
hw0,2 - card_name Center/LFE
hw0,3 - card_name Side (it's not unknown)
Instead of just CA0106. Any ideas?
--
Vedran Miletić
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next reply other threads:[~2008-11-01 11:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-01 11:22 Vedran Miletić [this message]
2008-11-02 11:26 ` snd-ca0106 Takashi Iwai
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=fd3eb9bf0811010422n7e03035ah62368287567be725@mail.gmail.com \
--to=rivanvx@gmail.com \
--cc=alsa-devel@alsa-project.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