Skip to content

Commit b7ce17f

Browse files
committed
tools/include: Sync uapi/sound/asound.h with the kernel sources
To pick up the changes from: 85df6b5 ("ALSA: pcm: clarify and fix default msbits value for all formats") This should be used to beautify sound syscall arguments and it addresses these tools/perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/sound/asound.h include/uapi/sound/asound.h Cc: Jaroslav Kysela <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bee3b82 commit b7ce17f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/include/uapi/sound/asound.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ struct snd_hwdep_dsp_image {
142142
* *
143143
*****************************************************************************/
144144

145-
#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 16)
145+
#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 17)
146146

147147
typedef unsigned long snd_pcm_uframes_t;
148148
typedef signed long snd_pcm_sframes_t;
@@ -416,7 +416,7 @@ struct snd_pcm_hw_params {
416416
unsigned int rmask; /* W: requested masks */
417417
unsigned int cmask; /* R: changed masks */
418418
unsigned int info; /* R: Info flags for returned setup */
419-
unsigned int msbits; /* R: used most significant bits */
419+
unsigned int msbits; /* R: used most significant bits (in sample bit-width) */
420420
unsigned int rate_num; /* R: rate numerator */
421421
unsigned int rate_den; /* R: rate denominator */
422422
snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */

0 commit comments

Comments
 (0)