Fixing up CMakeLists.txt

This commit is contained in:
2023-10-24 14:21:14 -07:00
parent debe0eaf4f
commit d9999d3ed3
7 changed files with 61 additions and 44 deletions

View File

@@ -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
}