mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Increase the components array size
Increase the components array size from 80 to 128 chars. The string there is supposed to be null-terminated, so it can cover the smaller array size in the older version, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
1cf904e894
commit
ce3df03135
1 changed files with 2 additions and 3 deletions
|
|
@ -725,7 +725,7 @@ struct sndrv_timer_tread {
|
||||||
* *
|
* *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 5)
|
#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 6)
|
||||||
|
|
||||||
struct sndrv_ctl_card_info {
|
struct sndrv_ctl_card_info {
|
||||||
int card; /* card number */
|
int card; /* card number */
|
||||||
|
|
@ -736,8 +736,7 @@ struct sndrv_ctl_card_info {
|
||||||
unsigned char longname[80]; /* name + info text about soundcard */
|
unsigned char longname[80]; /* name + info text about soundcard */
|
||||||
unsigned char reserved_[16]; /* reserved for future (was ID of mixer) */
|
unsigned char reserved_[16]; /* reserved for future (was ID of mixer) */
|
||||||
unsigned char mixername[80]; /* visual mixer identification */
|
unsigned char mixername[80]; /* visual mixer identification */
|
||||||
unsigned char components[80]; /* card components / fine identification, delimited with one space (AC97 etc..) */
|
unsigned char components[128]; /* card components / fine identification, delimited with one space (AC97 etc..) */
|
||||||
unsigned char reserved[48]; /* reserved for future */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum sndrv_ctl_elem_type {
|
enum sndrv_ctl_elem_type {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue