mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
737ff125ca
Enable with `--cras-snd`. Verified: Basic playback and capture Missing features: * Getting chmap/jack/stream info from CRAS. They are hardcoded for now. * Jack connect/disconnect notifications from CRAS * Reporting latency bytes to the driver. It is currently hardcoded to 0. BUG=b:179757101 TEST=`aplay` and `arecord` inside a debian img with a 5.10 kernel built with virtio snd support. Launched with crosvm on rammus/kukui/hatch Change-Id: I240000a92418b75b3eb8dcd241ff320214b68739 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2777991 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Woody Chow <woodychow@google.com> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
11 lines
334 B
Text
11 lines
334 B
Text
# Copyright 2021 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
@include /usr/share/policy/crosvm/common_device.policy
|
|
|
|
openat: return ENOENT
|
|
socket: arg0 == AF_UNIX
|
|
socketpair: arg0 == AF_UNIX
|
|
prctl: arg0 == PR_SET_NAME
|
|
connect: 1
|