Skip to contentSkip to conversation

"plug" PCM device has odd default behaviour

DISCUSSION Paul Davis 2 participants 2 messages Mar 13, 2002 – Mar 14, 2002

lore
Share & tools
lore

Paul Davis

author
#0 lore raw

so, you all know jack, i'm sure.

when jack is used with a "plug" PCM device, we end up with duplicated channel data even on a 2 channel device. using mmap access, everything we write to the channel area for channel 0 shows up on both channel 0 and channel 1. i don't understand how this could happen. any clues on what i should start looking for? my first guess is that the channel addresses supplied for mmap access are wrong/duplicated (i haven't tried debugging yet).

obviously, jack works fine with a "hw" PCM device.

--p

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#1 lore raw
Quoted 9 lines · Paul Davis

so, you all know jack, i'm sure.

when jack is used with a "plug" PCM device, we end up with duplicated channel data even on a 2 channel device. using mmap access, everything we write to the channel area for channel 0 shows up on both channel 0 and channel 1. i don't understand how this could happen. any clues on what i should start looking for? my first guess is that the channel addresses supplied for mmap access are wrong/duplicated (i haven't tried debugging yet).

Please, could you call 'snd_pcm_dump()' after initialization of parameters and show me result? I need to know plugin details to help you.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel