Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add virtio-snd building #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

ci: add virtio-snd building #87

wants to merge 1 commit into from

Conversation

Ivan-Velickovic
Copy link
Collaborator

No description provided.

@alexandermbrown
Copy link
Contributor

alexandermbrown commented Jul 15, 2024

I was thinking we could automatically test virtio-snd by doing the following (I can make a PR later):

  1. Run it with QEMU_SND_BACKEND=wav - this allows simulation of audio by saving it to a WAV file
  2. In client, login and run aplay /usr/share/sounds/alsa/Front_*
  3. Expect the following output after waiting around 5 seconds:
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

Only issue, sometimes the VM will randomly print [ 55.728546] random: fast init done

@alexandermbrown alexandermbrown mentioned this pull request Jul 16, 2024
10 tasks
@Ivan-Velickovic Ivan-Velickovic force-pushed the virtio_snd_ci branch 3 times, most recently from 887c616 to 3c047f5 Compare August 21, 2024 01:56
Signed-off-by: Ivan Velickovic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants