comparison render.h @ 354:15dd6418fe67

Initial PSG support. Mostly works, noise channel is borked though.
author Mike Pavone <pavone@retrodev.com>
date Thu, 23 May 2013 23:42:42 -0700
parents 13f994c88c34
children 62177cc39049
comparison
equal deleted inserted replaced
353:a60e527cd21f 354:15dd6418fe67
1 #ifndef RENDER_SDL_H_ 1 #ifndef RENDER_SDL_H_
2 #define RENDER_SDL_H_ 2 #define RENDER_SDL_H_
3 3
4 #include "vdp.h" 4 #include "vdp.h"
5 void render_init(int width, int height, char * title); 5 #include "psg.h"
6 void render_init(int width, int height, char * title, uint32_t fps);
6 void render_context(vdp_context * context); 7 void render_context(vdp_context * context);
7 void render_wait_quit(vdp_context * context); 8 void render_wait_quit(vdp_context * context);
9 void render_wait_audio(psg_context * context);
8 int wait_render_frame(vdp_context * context, int frame_limit); 10 int wait_render_frame(vdp_context * context, int frame_limit);
9 void render_fps(uint32_t fps); 11 void render_fps(uint32_t fps);
12 uint32_t render_audio_buffer();
13 uint32_t render_sample_rate();
10 14
11 #endif //RENDER_SDL_H_ 15 #endif //RENDER_SDL_H_
12 16