Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- size_t C_LibretroManager::cbAudioSampleBatch(const int16_t * data, size_t frames)
- {
- struct retro_system_av_info info;
- s_raw->get_system_av_info(&info);
- if (info.timing.sample_rate > 0 && s_sampleRate == 0)
- {
- s_sampleRate = int(info.timing.sample_rate);
- C_LibretroManager::CreateAudioStream();
- }
- if (s_sampleRate <= 0)
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement