NetBSD-Bugs archive

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

bin/56166: audioplay fails to play 24-bit wave files



>Number:         56166
>Category:       bin
>Synopsis:       audioplay fails to play 24-bit wave files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 14 14:00:00 +0000 2021
>Originator:     nia
>Release:        current
>Organization:
>Environment:
current
>Description:
audioplay expects to be able to pass the kernel audio stack raw 24-bit
PCM, but this doesn't work. the kernel only supports 8/16/32-bit PCM
PCM, so it fails with EINVAL.
>How-To-Repeat:
play a 24-bit wave file with audioplay
>Fix:
audioplay should pack the 24-bit samples into 32-bit samples,
as libao in pkgsrc does.



Home | Main Index | Thread Index | Old Index