diff --git a/devices/src/pci/ac97_bus_master.rs b/devices/src/pci/ac97_bus_master.rs index cd32f3586e..83ccbc2060 100644 --- a/devices/src/pci/ac97_bus_master.rs +++ b/devices/src/pci/ac97_bus_master.rs @@ -490,7 +490,7 @@ impl Ac97BusMaster { } fn start_audio(&mut self, func: Ac97Function, mixer: &Ac97Mixer) -> Result<(), Box> { - const AUDIO_THREAD_RTPRIO: u16 = 12; // Matches other cros audio clients. + const AUDIO_THREAD_RTPRIO: u16 = 10; // Matches other cros audio clients. match func { Ac97Function::Input => { diff --git a/seccomp/arm/cras_audio_device.policy b/seccomp/arm/cras_audio_device.policy index 06d63d1130..ef9b5eda75 100644 --- a/seccomp/arm/cras_audio_device.policy +++ b/seccomp/arm/cras_audio_device.policy @@ -8,6 +8,7 @@ madvise: 1 prlimit64: 1 setrlimit: 1 recvmsg: 1 +sched_setscheduler: 1 sendmsg: 1 socketpair: arg0 == AF_UNIX clock_gettime: 1 diff --git a/seccomp/x86_64/cras_audio_device.policy b/seccomp/x86_64/cras_audio_device.policy index e5a074ec04..1e440e3cde 100644 --- a/seccomp/x86_64/cras_audio_device.policy +++ b/seccomp/x86_64/cras_audio_device.policy @@ -8,5 +8,6 @@ madvise: 1 prlimit64: 1 setrlimit: 1 recvmsg: 1 +sched_setscheduler: 1 sendmsg: 1 socketpair: arg0 == AF_UNIX