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

Implement VirtIO sound device #53

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 3, 2024

  1. WIP

    Enable ALSA driver and System V IPC in Linux Kernel. For
    ALSA, the debug is enabled and will be removed once
    this commit is ready.
    
    Add description of descriptor chaining, yet need refactoring
    the description as well as code (exists uncertainty of
    the query struct).
    
    Succeed to initialize virtio-snd.
    
    Handle requests in control and TX queue, and print the address and length
    of each virtq element to check the validness of self-implement
    queue.
    
    For macOS, an experimental core audio library check is implemented.
    
    As the driver sends the PCM frames asynchronously, use a dedicated
    thread for receiving frames from driver.
    Need to let the thread become a thread pool so that we don't
    need to create the thread everytime when we try to receive
    frames from driver.
    As such, the pcm_release state is sent asynchronously, need to
    address this later.
    Cuda-Chen committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    ecb2614 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2024

  1. Consume incoming PCM frames

    Consume incoming PCM frames and save nothing for debug.
    Cuda-Chen committed Dec 4, 2024
    Configuration menu
    Copy the full SHA
    a9b0238 View commit details
    Browse the repository at this point in the history