|
@@ -76,7 +76,7 @@ static struct snd_ratden toneport_ratden = {
|
|
};
|
|
};
|
|
|
|
|
|
static struct line6_pcm_properties toneport_pcm_properties = {
|
|
static struct line6_pcm_properties toneport_pcm_properties = {
|
|
- .snd_line6_playback_hw = {
|
|
|
|
|
|
+ .playback_hw = {
|
|
.info = (SNDRV_PCM_INFO_MMAP |
|
|
.info = (SNDRV_PCM_INFO_MMAP |
|
|
SNDRV_PCM_INFO_INTERLEAVED |
|
|
SNDRV_PCM_INFO_INTERLEAVED |
|
|
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
@@ -94,7 +94,7 @@ static struct line6_pcm_properties toneport_pcm_properties = {
|
|
.period_bytes_max = 8192,
|
|
.period_bytes_max = 8192,
|
|
.periods_min = 1,
|
|
.periods_min = 1,
|
|
.periods_max = 1024},
|
|
.periods_max = 1024},
|
|
- .snd_line6_capture_hw = {
|
|
|
|
|
|
+ .capture_hw = {
|
|
.info = (SNDRV_PCM_INFO_MMAP |
|
|
.info = (SNDRV_PCM_INFO_MMAP |
|
|
SNDRV_PCM_INFO_INTERLEAVED |
|
|
SNDRV_PCM_INFO_INTERLEAVED |
|
|
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
@@ -111,7 +111,7 @@ static struct line6_pcm_properties toneport_pcm_properties = {
|
|
.period_bytes_max = 8192,
|
|
.period_bytes_max = 8192,
|
|
.periods_min = 1,
|
|
.periods_min = 1,
|
|
.periods_max = 1024},
|
|
.periods_max = 1024},
|
|
- .snd_line6_rates = {
|
|
|
|
|
|
+ .rates = {
|
|
.nrats = 1,
|
|
.nrats = 1,
|
|
.rats = &toneport_ratden},
|
|
.rats = &toneport_ratden},
|
|
.bytes_per_frame = 4
|
|
.bytes_per_frame = 4
|