18#ifndef __VSF_WINSOUND_H__
19#define __VSF_WINSOUND_H__
23#include "../../../vsf_av_cfg.h"
25#if VSF_USE_AUDIO == ENABLED && VSF_AUDIO_USE_WINSOUND == ENABLED
29#if defined(__VSF_WINSOUND_CLASS_IMPLEMENT)
30# undef __VSF_WINSOUND_CLASS_IMPLEMENT
31# define __VSF_CLASS_IMPLEMENT__
44#if VSF_AUDIO_USE_PLAYBACK == ENABLED
47#define VSF_WIN_HWAVEOUT VSF_WIN_HANDLE
95#if VSF_AUDIO_USE_PLAYBACK == ENABLED
99#if VSF_AUDIO_USE_PLAYBACK == ENABLED && VSF_AUDIO_USE_CAPTURE == ENABLED
Definition vsf_audio.h:158
Definition vsf_audio.h:74
Definition vsf_audio.h:145
Definition vsf_winsound.h:88
Definition linux_generic.h:122
unsigned int uint32_t
Definition lvgl.h:43
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_winsound.h:49
VSF_WIN_DWORD dwLoops
Definition vsf_winsound.h:55
VSF_WIN_DWORD_PTR reserved
Definition vsf_winsound.h:57
VSF_WIN_DWORD_PTR dwUser
Definition vsf_winsound.h:53
VSF_WIN_DWORD dwFlags
Definition vsf_winsound.h:54
VSF_WIN_LPSTR lpData
Definition vsf_winsound.h:50
VSF_WIN_DWORD dwBufferLength
Definition vsf_winsound.h:51
struct __vsf_win_wavehdr_tag FAR * lpNext
Definition vsf_winsound.h:56
VSF_WIN_DWORD dwBytesRecorded
Definition vsf_winsound.h:52
Definition vsf_winsound.h:60
uint8_t * buffer
Definition vsf_winsound.h:62
__VSF_WIN_WAVEHDR header
Definition vsf_winsound.h:61
Definition vsf_winsound.h:65
vsf_arch_irq_thread_t irq_thread
Definition vsf_winsound.h:66
VSF_WIN_HWAVEOUT hwo
Definition vsf_winsound.h:69
bool fill_ticktock
Definition vsf_winsound.h:75
bool is_playing
Definition vsf_winsound.h:74
uint32_t sps
Definition vsf_winsound.h:79
vsf_eda_t * eda_pending
Definition vsf_winsound.h:82
bool play_ticktock
Definition vsf_winsound.h:76
vk_winsound_playback_buffer_t buffer[2]
Definition vsf_winsound.h:72
VSF_WIN_HANDLE hEvent
Definition vsf_winsound.h:70
uint8_t buffer_taken
Definition vsf_winsound.h:77
uint32_t last_datasize
Definition vsf_winsound.h:81
vk_audio_stream_t * audio_stream
Definition vsf_winsound.h:67
uint8_t frame_size
Definition vsf_winsound.h:78
uint32_t last_datasize_valid
Definition vsf_winsound.h:80
#define VSF_WIN_HWAVEOUT
Definition vsf_winsound.h:47
struct __vsf_win_wavehdr_tag __VSF_WIN_WAVEHDR
const vk_audio_drv_t vk_winsound_drv
char * VSF_WIN_LPSTR
Definition win_generic.h:144
unsigned long VSF_WIN_DWORD
Definition win_generic.h:141
VSF_WIN_ULONG_PTR VSF_WIN_DWORD_PTR
Definition win_generic.h:150
void * VSF_WIN_HANDLE
Definition win_generic.h:140
#define FAR
Definition win_generic.h:96