sync with OpenBSD -current

This commit is contained in:
purplerain 2024-04-28 21:30:53 +00:00
parent 6bd4a87a12
commit 6fc9e02a30
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
25 changed files with 193 additions and 130 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: ac97.c,v 1.84 2018/04/11 04:48:31 ratchov Exp $ */
/* $OpenBSD: ac97.c,v 1.85 2024/04/29 00:29:48 jsg Exp $ */
/*
* Copyright (c) 1999, 2000 Constantine Sapuntzakis
@ -69,17 +69,6 @@
#include <dev/audio_if.h>
#include <dev/ic/ac97.h>
/* default parameters; supported by all ac97 codecs */
const struct audio_params ac97_audio_default = {
48000, /* sample_rate */
AUDIO_ENCODING_SLINEAR_LE, /* encoding */
16, /* precision */
2, /* bps */
1, /* msb */
2 /* channels */
};
const struct audio_mixer_enum ac97_on_off = {
2,
{ { { AudioNoff } , 0 },