Mercurial > repos > blastem
comparison libblastem.c @ 1868:bfacedbae5f0
Fix libretro and stateview targets
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Jun 2019 09:11:38 -0700 |
parents | 96323d73b8ab |
children | 55198fc9cc1f |
comparison
equal
deleted
inserted
replaced
1867:fa4745d42093 | 1868:bfacedbae5f0 |
---|---|
351 } | 351 } |
352 void render_infobox(char *title, char *message) | 352 void render_infobox(char *title, char *message) |
353 { | 353 { |
354 } | 354 } |
355 | 355 |
356 struct audio_source { | 356 typedef struct { |
357 int32_t freq; | 357 int32_t freq; |
358 int32_t left_accum; | 358 int32_t left_accum; |
359 int32_t right_accum; | 359 int32_t right_accum; |
360 int32_t num_samples; | 360 int32_t num_samples; |
361 }; | 361 } audio_source; |
362 | 362 |
363 static audio_source *audio_sources[8]; | 363 static audio_source *audio_sources[8]; |
364 static uint8_t num_audio_sources; | 364 static uint8_t num_audio_sources; |
365 audio_source *render_audio_source(uint64_t master_clock, uint64_t sample_divider, uint8_t channels) | 365 audio_source *render_audio_source(uint64_t master_clock, uint64_t sample_divider, uint8_t channels) |
366 { | 366 { |