NetBSD-Bugs archive

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

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



The following reply was made to PR bin/56166; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56166: audioplay fails to play 24-bit wave files
Date: Fri, 14 May 2021 15:15:35 -0000 (UTC)

 nia%pkgsrc.org@localhost writes:
 
 >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.
 
 You could enable the 24bit code in the audio driver:
 
 /*    
  * Whether supports [US]LINEAR24/24 as userland format.
  */
 /* #define AUDIO_SUPPORT_LINEAR24 */
 
 


Home | Main Index | Thread Index | Old Index