mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-10-01 03:43:51 +08:00
micd: revert check playing sound (high cpu usage) (#26672)
* don't use hardware
* check micd proc
* use pactl package
* cleanup
* Revert "cleanup"
This reverts commit baf9887e2d3e7dce8c24a93e970bb5a2d3609d50.
* Revert "use pactl package"
This reverts commit 0c1f3a4b865e44052affa57323ae4a21d274d6e3.
* Revert "micd: don't update filtered sound level if playing sound (#26652)"
This reverts commit 86cd919a57.
* Revert "check micd proc"
This reverts commit 9ebbe2aa42bdfd2f7f8bf226978a518d984fb154.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
This commit is contained in:
@@ -43,10 +43,6 @@ class HardwareBase(ABC):
|
||||
def get_sound_card_online(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def is_sound_playing(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_imei(self, slot) -> str:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user