Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. size_t C_LibretroManager::cbAudioSampleBatch(const int16_t * data, size_t frames)
  2. {
  3.     struct retro_system_av_info info;
  4.     s_raw->get_system_av_info(&info);
  5.  
  6.     if (info.timing.sample_rate > 0 && s_sampleRate == 0)
  7.     {
  8.         s_sampleRate = int(info.timing.sample_rate);
  9.         C_LibretroManager::CreateAudioStream();
  10.     }
  11.  
  12.     if (s_sampleRate <= 0)
  13.         return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement