sysprog21 / semu

A minimalist RISC-V system emulator capable of running Linux kernel
MIT License
247 stars 46 forks source link

Implement VirtIO sound device #50

Open Cuda-Chen opened 1 month ago

Cuda-Chen commented 1 month ago

Currently, semu lacks of sound playing feature.

To implement, we can use VirtIO sound with ALSA architecture.

jserv commented 3 weeks ago

we can use VirtIO sound with ALSA architecture.

Can you illustrate the progress and the potential integration considerations?

Cuda-Chen commented 3 weeks ago

Hi @jserv ,

For the progress:

For potential integration considerations:

Cuda-Chen commented 1 week ago

Hi @jserv ,

For the supporting operations mentioned in https://github.com/sysprog21/semu/pull/53, to let semu plays sound I consider it requires to support more operations (and the operations are mentioned in VirtIO official document), should we investigate then list the operations that have to be implemented to support the common sound operation (e.g., playing sound, querying sound device information, etc.)?

jserv commented 1 week ago

should we investigate then list the operations that have to be implemented to support the common sound operation (e.g., playing sound, querying sound device information, etc.)?

Yes, go ahead.

Cuda-Chen commented 6 days ago

For this issue, I am going to implement VirtIO sound device supporting these operations: