diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-10-07 12:08:29 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-07 12:08:29 +0200 |
commit | ce3df031354d4e61c42f025b34a2020b5b35f27b (patch) | |
tree | 4795295d25d6208f8d5d144a73d8cc7e148864ce | |
parent | 1cf904e894b2bfba1045a3a15b326b06a415a3da (diff) | |
download | alsa-lib-ce3df031354d4e61c42f025b34a2020b5b35f27b.tar.gz |
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>
-rw-r--r-- | include/sound/asound.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h index e5fbea43..977b2d6c 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -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 { int card; /* card number */ @@ -736,8 +736,7 @@ struct sndrv_ctl_card_info { unsigned char longname[80]; /* name + info text about soundcard */ unsigned char reserved_[16]; /* reserved for future (was ID of mixer) */ unsigned char mixername[80]; /* visual mixer identification */ - unsigned char components[80]; /* card components / fine identification, delimited with one space (AC97 etc..) */ - unsigned char reserved[48]; /* reserved for future */ + unsigned char components[128]; /* card components / fine identification, delimited with one space (AC97 etc..) */ }; enum sndrv_ctl_elem_type { |