NetBSD-Bugs archive

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

PR/54973 CVS commit: [netbsd-9] src



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

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/54973 CVS commit: [netbsd-9] src
Date: Thu, 30 Apr 2020 15:40:51 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Thu Apr 30 15:40:50 UTC 2020
 
 Modified Files:
 	src/share/man/man4 [netbsd-9]: audio.4
 	src/sys/dev/audio [netbsd-9]: audio.c
 
 Log Message:
 Pull up following revision(s) (requested by isaki in ticket #875):
 
 	sys/dev/audio/audio.c: revision 1.59
 	share/man/man4/audio.4: revision 1.102
 	share/man/man4/audio.4: revision 1.103
 	sys/dev/audio/audio.c: revision 1.43
 
 Limit the number of channels that userland apps can set (by AUDIO_SETINFO)
 to the number of channels supported by the hardware or less, if the hardware
 supports multi channels.
 - On monaural or stereo hardware, userland apps can always set 1ch or 2ch.
   The kernel (audio layer) can convert mono-stereo each other.
 - On 3ch (2.1ch) hardware, for example, userland apps can set 1, 2, or 3ch,
   but not 4ch or more.
 
 This allows userland apps to know actual number of channels supported by
 the hardware in the same way as before.
 
 PR kern/54973.
 
 Reinitialize the sticky parameters whenever the hardware format is changed.
 
 When the number of the hardware channels becomes less than the number of
 channels that sticky parameters remember, subsequent open("/dev/sound") will
 fail without this treatment.  This is for rev 1.43.
 
 Add description about channel limitation introduced in audio.c 1.43.
 PR kern/54973.
 
 Remove trailing whitespace.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.90 -r1.90.2.1 src/share/man/man4/audio.4
 cvs rdiff -u -r1.28.2.9 -r1.28.2.10 src/sys/dev/audio/audio.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index