mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-14 05:35:06 -07:00
Fixing up CMakeLists.txt
This commit is contained in:
@@ -1,32 +1,32 @@
|
||||
#include "audio.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
// Audio controller base address
|
||||
#define AUDIO_BASE_ADDRESS 0x0000
|
||||
|
||||
// Audio controller data port
|
||||
#define AUDIO_DATA_PORT 0x00
|
||||
|
||||
// Audio controller command port
|
||||
#define AUDIO_COMMAND_PORT 0x01
|
||||
|
||||
// Initialize the audio driver
|
||||
void audio_init()
|
||||
{
|
||||
// Add any necessary initialization code here
|
||||
}
|
||||
|
||||
// Play audio from a buffer
|
||||
void audio_play(const uint8_t *buffer, size_t size)
|
||||
{
|
||||
// Add any necessary code to play audio from the buffer here
|
||||
}
|
||||
|
||||
// Stop audio playback
|
||||
void audio_stop()
|
||||
{
|
||||
// Add any necessary code to stop audio playback here
|
||||
}
|
||||
#include "audio.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
// Audio controller base address
|
||||
#define AUDIO_BASE_ADDRESS 0x0000
|
||||
|
||||
// Audio controller data port
|
||||
#define AUDIO_DATA_PORT 0x00
|
||||
|
||||
// Audio controller command port
|
||||
#define AUDIO_COMMAND_PORT 0x01
|
||||
|
||||
// Initialize the audio driver
|
||||
void audio_init()
|
||||
{
|
||||
// Add any necessary initialization code here
|
||||
}
|
||||
|
||||
// Play audio from a buffer
|
||||
void audio_play(const uint8_t *buffer, size_t size)
|
||||
{
|
||||
// Add any necessary code to play audio from the buffer here
|
||||
}
|
||||
|
||||
// Stop audio playback
|
||||
void audio_stop()
|
||||
{
|
||||
// Add any necessary code to stop audio playback here
|
||||
}
|
||||
|
Reference in New Issue
Block a user