1.\" $NetBSD: vcaudio.4,v 1.2 2021/02/26 10:33:46 nia Exp $ 2.\" 3.\" Copyright (c) 2021 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25.\" POSSIBILITY OF SUCH DAMAGE. 26.\" 27.Dd February 26, 2021 28.Dt VCAUDIO 4 29.Os 30.Sh NAME 31.Nm vcaudio 32.Nd Broadcom VideoCore integrated audio device driver 33.Sh SYNOPSIS 34.Cd "vcaudio* at vchiq?" 35.Sh DESCRIPTION 36The 37.Nm 38driver provides support for the VideoCore 4 audio interface found on 39Broadcom SoCs used in boards such as the Raspberry Pi. 40.Pp 41Three outputs are supported: 42.Li auto , 43.Li headphones , 44and 45.Li hdmi . 46The selected output can be changed using the 47.Li outputs.select 48.Xr mixerctl 1 49variable. 50.Li headphones 51corresponds to the analog 3.5mm jack on the Raspberry Pi. 52.Pp 53The hardware does not support recording. 54.Sh SEE ALSO 55.Xr mixerctl 1 , 56.Xr audio 4 , 57.Xr mixer 4 , 58.Xr vchiq 4 59.Sh HISTORY 60The 61.Nm 62device driver appeared in 63.Nx 7.0 . 64.Sh BUGS 65The playback block size is fixed at 40ms of audio. 66The hardware output format is fixed at stereo 48kHz 16-bit LPCM so is 67not configurable with 68.Xr audiocfg 1 . 69