--- uae/src/include/audio.h 2018/04/24 17:00:29 1.1.1.5 +++ uae/src/include/audio.h 2018/04/24 17:04:10 1.1.1.7 @@ -14,7 +14,8 @@ extern struct audio_channel_data { unsigned long per; uae_u8 dmaen, intreq2, data_written; uaecptr lc, pt; - int state, wper, wlen; + int state, wper; + unsigned int wlen; int current_sample, last_sample; int vol; int *voltbl; @@ -39,3 +40,5 @@ extern void audio_reset (void); extern void update_audio (void); extern void schedule_audio (void); extern void audio_evhandler (void); +extern void audio_channel_enable_dma (struct audio_channel_data *cdp); +extern void audio_channel_disable_dma (struct audio_channel_data *cdp);