[pulseaudio-discuss] [PATCH 0/3] Multichannel fixes

Takashi Sakamoto o-takashi at sakamocchi.jp
Sat May 9 06:19:16 PDT 2015


Hi David,

Sorry to be late.

On 2015年04月02日 16:22, David Henningsson wrote:
>> Well, I want to test this patchset with my devices in this weekend. In
>> my understanding, these patches are for devices with different PCM
>> channels for playback/capture. In this case, your patch allows
>> pulseaudio clients to send/receive the first 4 channels
>> (left,right,rear-left,rear-right) to/from the PCM substreams instead of
>> using whole channels.
>>
>> Is my understanding is correct?
> 
> The second patch works around a bug that could cause multichannel
> devices with different number of playback and record channels (e g, a
> device that can only be opened with 10 out and 6 in and nothing else)
> not to be opened correctly.

I tested these patches with pulseaudio package in Ubuntu repository for
vivid.
http://packages.ubuntu.com/hu/source/vivid/pulseaudio

I uploaded the package in my PPA. Please check it if you need. I push
the patches to debian/patches/0212-multichannel-fixes.patch.
https://launchpad.net/~mocchi/+archive/ubuntu/instruments/+packages?field.name_filter=&field.status_filter=published&field.series_filter=vivid

I used two of my devices (FW 1814 and GO46), which has different number
of PCM channels for playback/capture.

This is a log with Ubuntu original package.
http://pastebin.ubuntu.com/11043119/

This is a log with pached package.
http://pastebin.ubuntu.com/11043124/

PulseAudio always has 'dummy output' for its sink with original package,
while it has output sinks with patched package.
It always has source inputs as the device has.

With the pached package, I can use PCM playback device of the actual
devices.
I think your patches fix this issue.


Regards

Takashi Sakamoto


More information about the pulseaudio-discuss mailing list