mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-26 12:32:13 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
12
support/testing/tests/package/sample_python_pyalsa.py
Normal file
12
support/testing/tests/package/sample_python_pyalsa.py
Normal file
@@ -0,0 +1,12 @@
|
||||
#! /usr/bin/env python3
|
||||
|
||||
from pyalsa import alsacard
|
||||
|
||||
print('asoundlibVersion:', alsacard.asoundlib_version())
|
||||
print('cardLoad:', alsacard.card_load(0))
|
||||
print('cardList:', alsacard.card_list())
|
||||
print('deviceNameHint for all cards:')
|
||||
print(alsacard.device_name_hint(-1, "pcm"))
|
||||
for card in alsacard.card_list():
|
||||
print('deviceNameHint for card #%i:' % card)
|
||||
print(alsacard.device_name_hint(card, "pcm"))
|
||||
Reference in New Issue
Block a user