Restore a call to vidcaudio_ctrl() that I accidentally deleted.
This commit is contained in:
parent
bd6ca18b7e
commit
48a569efe8
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vidcaudio.c,v 1.28 2004/01/01 16:35:35 bjh21 Exp $ */
|
||||
/* $NetBSD: vidcaudio.c,v 1.29 2004/01/01 16:42:36 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Melvin Tang-Richardson
|
||||
|
@ -65,7 +65,7 @@
|
|||
|
||||
#include <sys/param.h> /* proc.h */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.28 2004/01/01 16:35:35 bjh21 Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.29 2004/01/01 16:42:36 bjh21 Exp $");
|
||||
|
||||
#include <sys/audioio.h>
|
||||
#include <sys/conf.h> /* autoconfig functions */
|
||||
|
@ -349,6 +349,7 @@ vidcaudio_set_params(void *addr, int setmode, int usemode,
|
|||
p->hw_sample_rate =
|
||||
705600 / 4 / sample_period;
|
||||
vidcaudio_rate(sample_period - 2);
|
||||
vidcaudio_ctrl(SCR_SERIAL);
|
||||
p->hw_encoding = AUDIO_ENCODING_SLINEAR_LE;
|
||||
p->hw_precision = 16;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue