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

Add QEMU audio pseudo-encoding support. #29

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

Conversation

ayunami2000
Copy link

Let me know if the defaults or coding styles need work!

Notice: I did not add any tests, but I did test it (well, an earlier version, before I added the ability to configure channel count and frequency) with my application and it worked.

To test, use something like:

@echo off
"C:\Program Files\qemu\qemu-system-x86_64.exe" -L "C:/Program Files/qemu" -vnc :0 -usbdevice tablet -boot d -m 1024M -cdrom geexbox-3.1-x86_64.iso -vga vmware -device intel-hda -device hda-output

or

qemu-system-x86_64 -vnc :0 -usbdevice tablet -boot d -m 1024M -cdrom geexbox-3.1-x86_64.iso -vga vmware -device intel-hda -device hda-output

^above tests use GeeXboX OS for audio tests: https://archiveos.org/geexbox/

OH, last thing: I used tabs, not spaces, feel free to change them back! And, please test it yourself to make sure it works on your end too!!

@ayunami2000
Copy link
Author

ayunami2000 commented Sep 16, 2022

Update: The frequency value does not seem to actually change the returned audio's frequency, I'm not really sure why. Let me know where I may have messed up.

Edit: Turns out I had to reorder some parts, remind me to push the changes I made to my PR.

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.

None yet

1 participant