** Description changed:
+ [ Impact ]
+
+ pw-record (pw-cat) cannot record a WAV file with more than two channels.
+ It switches to WAVE_FORMAT_EXTENSIBLE for >2 channels but requests CPU
+ byte order, which libsndfile refuses for that format, so it exits at
+ once with "Format not recognised". Multichannel interfaces (mixers, audio
+ interfaces, surround) are unusable with pw-record in its default format.
+
+ [ Test Plan ]
+
+ On resolute, with pipewire and wireplumber running:
+
+ pw-cli create-node adapter '{ factory.name=support.null-audio-sink
node.name=x12 media.class=Audio/Source/Virtual audio.channels=12
audio.position=[AUX0,AUX1,AUX2,AUX3,AUX4,AUX5,AUX6,AUX7,AUX8,AUX9,AUX10,AUX11]
object.linger=true }'
+ timeout 3 pw-record --target=x12 --channels=12 --rate=48000 out.wav
+ file out.wav
+
+ Before: "Format not recognised", exit 1, empty file.
+ After: runs until timeout; file reports "WAVE audio, 12 channels 48000 Hz".
+ Also check 2-channel WAV and a 12-channel .caf still record.
+
+ [ Where problems could occur ]
+
+ The change only affects pw-cat's choice of byte order when writing WAVEX,
+ i.e. WAV with more than two channels. That path never worked, so nothing
+ that works today goes through it. Stereo/mono WAV and other containers
+ are untouched. A mistake would show up as pw-record failing to write or
+ writing a malformed multichannel WAV.
+
+ [ Other Info ]
+
+ Upstream commit d444eebea, released in 1.6.4; stonking (1.6.8) and
+ tenacious (1.6.11) already have it. Goes in one resolute upload,
+ 1.6.2-1ubuntu1.4, together with the LP #2174961 fix, on top of
+ 1.6.2-1ubuntu1.3 (LP #2160089).
+
+ [ Original Description ]
+
$ LANG=C pw-record
--target="alsa_input.usb-BEHRINGER_X18_XR18_5C514753-00.pro-input-0"
--channels=12 --rate=48000 output.wav
output.wav
sndfile: failed to open audio file "output.wav": Format not recognised.
error: open failed: Input/output error
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: pipewire-bin 1.6.2-1ubuntu1.2
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: bdrung 370470 F.... wireplumber
/dev/snd/seq: bdrung 370469 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 16 16:41:19 2026
InstallationDate: Installed on 2025-07-28 (445 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 (20250415.3)
MachineType: Framework Laptop 12 (13th Gen Intel Core)
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
SourcePackage: pipewire
UpgradeStatus: Upgraded to resolute on 2026-03-13 (217 days ago)
dmi.bios.date: 08/20/2026
dmi.bios.release: 3.9
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 03.09
dmi.board.asset.tag: *
dmi.board.name: FRAPMACP05
dmi.board.vendor: Framework
dmi.board.version: A5
dmi.chassis.asset.tag: FRAPDACPA552650009
dmi.chassis.type: 31
dmi.chassis.vendor: Framework
dmi.chassis.version: A5
dmi.modalias:
dmi:bvnINSYDECorp.:bvr03.09:bd08/20/2026:br3.9:svnFramework:pnLaptop12(13thGenIntelCore):pvrA5:rvnFramework:rnFRAPMACP05:rvrA5:cvnFramework:ct31:cvrA5:skuFRAPDACP05:pfaLaptop12:
dmi.product.family: Laptop 12
dmi.product.name: Laptop 12 (13th Gen Intel Core)
dmi.product.sku: FRAPDACP05
dmi.product.version: A5
dmi.sys.vendor: Framework
** Summary changed:
- pw-record fails to record dozen of channels
+ [SRU] pw-record fails to record dozen of channels
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171093
Title:
[SRU] pw-record fails to record dozen of channels
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/2171093/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs