Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wonder is it possible to rig alsa or/and pulseaudio so that audio output to left stereo channel will come form one process and to the right channel from another process?

share|improve this question
add comment

migrated from stackoverflow.com Feb 15 '13 at 22:38

This question came from our site for professional and enthusiast programmers.

2 Answers

Since both ALSA and pulseaudio support dynamic mixing of multiple audio streams, you could just have two audio source processes that would output full stereo audio, but with one channel containing only silence. That should work with no modification in your sound system configuration.

Using two music player instances, for example, you could just tweak the Left/Right balance control, so that the appropriate channel of each instance would be fully silenced.

Why do you want to do that, anyway?

share|improve this answer
add comment

Absolutely. You can use ttable (ALSA) or module-remap-sink (PulseAudio) to make two virtual sinks combine into a physical sink, and then have different applications use each virtual sink.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.