* [Question] Different routing + sample formats for input and output
[not found] <1621219379998601913-webhooks-bot@alsa-project.org>
@ 2021-05-17 2:43 ` GitHub issues - edited
0 siblings, 0 replies; 3+ messages in thread
From: GitHub issues - edited @ 2021-05-17 2:43 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib issue #135 was edited from flatmax:
One soundcard I use has different output and input sample formats. The input format is S32_LE. The output format is S24_3LE.
There is also a routing change I like to do.
My current .asoundrc (below) uses the asym plugin to manage input and output difference. The asym plugin creates problems for some unknown reason where I get overruns :
`ALSA lib pcm.c:8545:(snd_pcm_recover) overrun occurred`
If I switch my setup to using the soundcard for output and a second USB microphone for input, then I don't get any overruns. I still use the asym plugin to make it work and it works nicely.
I have also tried simply the plug pluging, however I still get overruns.
Is there any way to setup the one soundcard with routing and format changes without using the asym plugin ? Or is there a better way to setup the one soundcard with the required routing and format changes ?
```
########## BEGIN ~/.asoundrc ###################
@hooks [
{
func load
files [
"~/.asoundrc"
]
errors false
}
]
pcm.!default {
type asym
playback.pcm "UMC1820_12ch_play"
capture.pcm "UMC1820_10ch_capt"
}
ctl.!default {
type hw
card "UMC1820"
}
pcm.UMC1820_12ch_play {
type route;
slave.pcm "hw:UMC1820";
slave.format S24_3LE;
slave.channels 12;
ttable.0.2 1
ttable.1.3 1
ttable.2.4 1
ttable.3.5 1
ttable.4.6 1
ttable.5.7 1
ttable.6.8 1
ttable.7.9 1
ttable.8.10 1
ttable.9.11 1
ttable.10.0 1
ttable.11.1 1
}
pcm.UMC1820_10ch_capt {
type route;
slave.pcm "hw:UMC1820";
slave.format S32_LE;
slave.channels 10;
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.6.6 1
ttable.7.7 1
ttable.8.8 1
ttable.9.9 1
}
########## END ~/.asoundrc ###################
```
Issue URL : https://github.com/alsa-project/alsa-lib/issues/135
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Question] Different routing + sample formats for input and output
[not found] <1621219337408587933-webhooks-bot@alsa-project.org>
@ 2021-05-17 2:42 ` GitHub issues - edited
0 siblings, 0 replies; 3+ messages in thread
From: GitHub issues - edited @ 2021-05-17 2:42 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib issue #135 was edited from flatmax:
One soundcard I use has different output and input sample formats. The input format is S32_LE. The output format is S24_3LE.
There is also a routing change I like to do.
My current .asoundrc (below) uses the asym plugin to manage input and output difference. The asym plugin creates problems for some unknown reason where I get overruns :
`ALSA lib pcm.c:8545:(snd_pcm_recover) overrun occurred`
If I switch my setup to using the soundcard for output and a second USB microphone for input, then I don't get any overruns. I still use the asym plugin to make it work and it works nicely.
I have also tried simply the plug pluging, however I still get overruns.
Is there any way to setup the one soundcard with routing and format changes without using the asym plugin ? Or is there a better way to setup the one soundcard with the required routing and format changes ?
```
########## BEGIN ~/.asoundrc ###################
@hooks [
{
func load
files [
"~/.asoundrc"
]
errors false
}
]
pcm.!default {
type asym
playback.pcm "UMC1820_12ch_play"
capture.pcm "UMC1820_10ch_capt"
}
ctl.!default {
type hw
card "UMC1820_8ch"
}
pcm.UMC1820_12ch_play {
type route;
slave.pcm "hw:UMC1820";
slave.format S24_3LE;
slave.channels 12;
ttable.0.2 1
ttable.1.3 1
ttable.2.4 1
ttable.3.5 1
ttable.4.6 1
ttable.5.7 1
ttable.6.8 1
ttable.7.9 1
ttable.8.10 1
ttable.9.11 1
ttable.10.0 1
ttable.11.1 1
}
pcm.UMC1820_10ch_capt {
type route;
slave.pcm "hw:UMC1820";
slave.format S32_LE;
slave.channels 10;
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.6.6 1
ttable.7.7 1
ttable.8.8 1
ttable.9.9 1
}
########## END ~/.asoundrc ###################
```
Issue URL : https://github.com/alsa-project/alsa-lib/issues/135
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Question] Different routing + sample formats for input and output
[not found] <1621219286014741898-webhooks-bot@alsa-project.org>
@ 2021-05-17 2:41 ` GitHub issues - opened
0 siblings, 0 replies; 3+ messages in thread
From: GitHub issues - opened @ 2021-05-17 2:41 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib issue #135 was opened from flatmax:
One soundcard I use has different output and input sample formats. The input format is S32_LE. The output format is S24_3LE.
There is also a routing change I like to do.
My current .asoundrc (below) uses the asym plugin to manage input and output difference. The asym plugin creates problems for some unknown reason where I get overruns :
`ALSA lib pcm.c:8545:(snd_pcm_recover) overrun occurred`
If I switch my setup to using the soundcard for output and a second USB microphone for input, then I don't get any overruns. I still use the asym plugin to make it work and it works nicely.
I have also tried simply the plug pluging, however I still get overruns.
Is there any way to setup the one soundcard with routing and format changes without using the asym plugin ? Or is there a better way to setup the one soundcard with the required routing and format changes ?
```
########## BEGIN ~/.asoundrc ###################
@hooks [
{
func load
files [
"~/.asoundrc"
]
errors false
}
]
pcm.!default {
type asym
playback.pcm "UMC1820_12ch_play"
capture.pcm "UMM6_capt"
}
ctl.!default {
type hw
card "UMC1820_8ch"
}
pcm.UMC1820_12ch_play {
type route;
slave.pcm "hw:UMC1820";
slave.format S24_3LE;
slave.channels 12;
ttable.0.2 1
ttable.1.3 1
ttable.2.4 1
ttable.3.5 1
ttable.4.6 1
ttable.5.7 1
ttable.6.8 1
ttable.7.9 1
ttable.8.10 1
ttable.9.11 1
ttable.10.0 1
ttable.11.1 1
}
pcm.UMM6_capt {
type linear
slave.pcm "hw:UMM6"
slave.format S16_LE;
}
########## END ~/.asoundrc ###################
```
Issue URL : https://github.com/alsa-project/alsa-lib/issues/135
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-17 2:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1621219379998601913-webhooks-bot@alsa-project.org>
2021-05-17 2:43 ` [Question] Different routing + sample formats for input and output GitHub issues - edited
[not found] <1621219337408587933-webhooks-bot@alsa-project.org>
2021-05-17 2:42 ` GitHub issues - edited
[not found] <1621219286014741898-webhooks-bot@alsa-project.org>
2021-05-17 2:41 ` GitHub issues - opened
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.