Use soundcard instead of sounddevice
This commit is contained in:
1 parent
72c8f021c8
commit
0f73f2e830
5 files changed
+129
-106
No files matched your search
@@ -1,6 +1,5 @@
|
||||
"""Utility methods."""
|
||||
|
||||
import platform
|
||||
import uuid
|
||||
from collections.abc import Callable
|
||||
from typing import Optional
|
||||
@@ -15,8 +14,3 @@ def get_mac() -> str:
|
||||
def call_all(*callables: Optional[Callable[[], None]]) -> None:
|
||||
for item in filter(None, callables):
|
||||
item()
|
||||
|
||||
|
||||
def is_arm() -> bool:
|
||||
machine = platform.machine()
|
||||
return ("arm" in machine) or ("aarch" in machine)
|
||||
Reference in new issue
Block a user