Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2023 03:57:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272004] multimedia/pipewire: unbreak audio with default config
Message-ID:  <bug-272004-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272004

            Bug ID: 272004
           Summary: multimedia/pipewire: unbreak audio with default config
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://gitlab.freedesktop.org/pipewire/pipewire/-/iss
                    ues/2530
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: arrowd@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: arrowd@FreeBSD.org
             Flags: maintainer-feedback?(arrowd@FreeBSD.org)

Created attachment 242783
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242783&action=
=3Dedit
v1 (apply via "git am")

FreeBSD kernel doesn't support ALSA, so there're no "hw" devices, only plug=
ins.
alsa-lib provides default config to map /dev/dsp to pcm.default using "oss"
plugin. Let's make pipewire use it.

Based on bug 255348. I didn't test planar vs. interleaved samples but bug
184006 should handle float to integer conversion.

$ mpv --no-video --ao=3Dpipewire --msg-level=3Dao=3Dv
https://feeds.fireside.fm/bsdnow/rss
[...]
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 0.3.62
[ao/pipewire] Library version: 0.3.62
[ao/pipewire] Core user: foo
[ao/pipewire] Core host: 131amd64-default
[ao/pipewire] Core version: 0.3.62
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] device buffer: 960 samples.
[ao/pipewire] using soft-buffer of 9600 samples.
AO: [pipewire] 48000Hz stereo 2ch floatp
A: 00:00:00 / 00:46:40 (0%) Cache: 184s/6MB

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272004-7788>