5.1 to stereo using libasound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am playing a mkv with 5.1 channels from a mkv. I configure libasound for
6 channels and I feed them interleave audio using snd_pcm_writei. I use the
default pulse audio device.

So far, nothing is wrong. However, I do not ear things correctly. I listen
this on my stereo speaker. There is no mixdown to stereo and I was
wondering how to do that. I tried to use chmap api but anything I try on
the default device returns an error.

I was wondering what was the correct way to do that?
Using the mixing api?
How do we detect that my device output stereo if chmap doesn't work?

I am on a ubuntu 18.04 linux box.

Thanks,
Eric
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux