sound: HDA support with PCM and wav playback
- Implemented HDA driver in src/sound/hda.c, providing initialization, codec enumeration, and playback functionality. - Defined HDA register offsets and structures in src/sound/hda.h. - Added WAV file parsing and playback capabilities in src/sound/pcm.c, supporting both WAV and raw PCM formats. - Created header file src/sound/pcm.h for PCM playback functions and WAV header structures. - Integrated memory management for DMA buffers during audio playback. Yes we played Charlie Charlie Kirky as the first sound on KirkOS Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user