ALSA: line6: Remove snd_line6_ prefix of pcm property fields
It's just superfluous and doesn't give any better readability. Signed-off-by: Takashi Iwai <tiwai@suse.de>
此提交包含在:
@@ -76,7 +76,7 @@ static struct snd_ratden toneport_ratden = {
|
||||
};
|
||||
|
||||
static struct line6_pcm_properties toneport_pcm_properties = {
|
||||
.snd_line6_playback_hw = {
|
||||
.playback_hw = {
|
||||
.info = (SNDRV_PCM_INFO_MMAP |
|
||||
SNDRV_PCM_INFO_INTERLEAVED |
|
||||
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
||||
@@ -94,7 +94,7 @@ static struct line6_pcm_properties toneport_pcm_properties = {
|
||||
.period_bytes_max = 8192,
|
||||
.periods_min = 1,
|
||||
.periods_max = 1024},
|
||||
.snd_line6_capture_hw = {
|
||||
.capture_hw = {
|
||||
.info = (SNDRV_PCM_INFO_MMAP |
|
||||
SNDRV_PCM_INFO_INTERLEAVED |
|
||||
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
||||
@@ -111,7 +111,7 @@ static struct line6_pcm_properties toneport_pcm_properties = {
|
||||
.period_bytes_max = 8192,
|
||||
.periods_min = 1,
|
||||
.periods_max = 1024},
|
||||
.snd_line6_rates = {
|
||||
.rates = {
|
||||
.nrats = 1,
|
||||
.rats = &toneport_ratden},
|
||||
.bytes_per_frame = 4
|
||||
|
新增問題並參考
封鎖使用者