mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-22 02:44:38 +00:00
Turn audio_driver_flush into static function
This commit is contained in:
parent
ee733fcd0f
commit
8e0a2ee9e7
@ -482,7 +482,7 @@ void audio_driver_set_nonblocking_state(bool enable)
|
||||
* Returns: true (1) if audio samples were written to the audio
|
||||
* driver, false (0) in case of an error.
|
||||
**/
|
||||
bool audio_driver_flush(const int16_t *data, size_t samples)
|
||||
static bool audio_driver_flush(const int16_t *data, size_t samples)
|
||||
{
|
||||
bool is_slowmotion, is_paused;
|
||||
static struct retro_perf_counter audio_convert_s16 = {0};
|
||||
|
@ -122,8 +122,6 @@ void audio_driver_set_nonblocking_state(bool enable);
|
||||
**/
|
||||
const char* config_get_audio_driver_options(void);
|
||||
|
||||
bool audio_driver_flush(const int16_t *data, size_t samples);
|
||||
|
||||
void audio_driver_sample(int16_t left, int16_t right);
|
||||
|
||||
size_t audio_driver_sample_batch(const int16_t *data, size_t frames);
|
||||
|
Loading…
x
Reference in New Issue
Block a user