Exemplo n.º 1
0
size_t audio_sample_batch_net(const int16_t *data, size_t frames)
{
   if (!netplay_should_skip(g_extern.netplay))
      return g_extern.netplay->cbs.sample_batch_cb(data, frames);
   else
      return frames;
}
Exemplo n.º 2
0
size_t audio_sample_batch_net(const int16_t *data, size_t frames)
{
    netplay_t *netplay = (netplay_t*)netplay_data;
    if (!netplay_should_skip(netplay))
        return netplay->cbs.sample_batch_cb(data, frames);
    return frames;
}
Exemplo n.º 3
0
void video_frame_net(const void *data, unsigned width,
                     unsigned height, size_t pitch)
{
    netplay_t *netplay = (netplay_t*)netplay_data;
    if (!netplay_should_skip(netplay))
        netplay->cbs.frame_cb(data, width, height, pitch);
}
Exemplo n.º 4
0
void audio_sample_net(int16_t left, int16_t right)
{
   driver_t *driver = driver_get_ptr();
   netplay_t *netplay = (netplay_t*)driver->netplay_data;
   if (!netplay_should_skip(netplay))
      netplay->cbs.sample_cb(left, right);
}
Exemplo n.º 5
0
void input_poll_net(void)
{
   driver_t *driver = driver_get_ptr();
   netplay_t *netplay = (netplay_t*)driver->netplay_data;
   if (!netplay_should_skip(netplay) && netplay_can_poll(netplay))
      netplay_poll(netplay);
}
Exemplo n.º 6
0
size_t audio_sample_batch_net(const int16_t *data, size_t frames)
{
   driver_t *driver = driver_get_ptr();
   netplay_t *netplay = (netplay_t*)driver->netplay_data;
   if (!netplay_should_skip(netplay))
      return netplay->cbs.sample_batch_cb(data, frames);
   return frames;
}
Exemplo n.º 7
0
void video_frame_net(const void *data, unsigned width,
      unsigned height, size_t pitch)
{
   driver_t *driver = driver_get_ptr();
   netplay_t *netplay = (netplay_t*)driver->netplay_data;
   if (!netplay_should_skip(netplay))
      netplay->cbs.frame_cb(data, width, height, pitch);
}
Exemplo n.º 8
0
size_t audio_sample_batch_net(const int16_t *data, size_t frames)
{
   if (!netplay_should_skip(netplay_data) && !netplay_data->stall)
      return netplay_data->cbs.sample_batch_cb(data, frames);
   return frames;
}
Exemplo n.º 9
0
void audio_sample_net(int16_t left, int16_t right)
{
   if (!netplay_should_skip(netplay_data) && !netplay_data->stall)
      netplay_data->cbs.sample_cb(left, right);
}
Exemplo n.º 10
0
void input_poll_net(void)
{
   if (!netplay_should_skip(netplay_data) && netplay_can_poll(netplay_data))
      netplay_poll();
}
Exemplo n.º 11
0
void audio_sample_net(int16_t left, int16_t right)
{
   if (!netplay_should_skip(g_extern.netplay))
      g_extern.netplay->cbs.sample_cb(left, right);
}
Exemplo n.º 12
0
void video_frame_net(const void *data, unsigned width, unsigned height, size_t pitch)
{
   if (!netplay_should_skip(g_extern.netplay))
      g_extern.netplay->cbs.frame_cb(data, width, height, pitch);
}
Exemplo n.º 13
0
void input_poll_net(void)
{
   if (!netplay_should_skip(g_extern.netplay) && netplay_can_poll(g_extern.netplay))
      netplay_poll(g_extern.netplay);
}
Exemplo n.º 14
0
void audio_sample_net(int16_t left, int16_t right)
{
    netplay_t *netplay = (netplay_t*)netplay_data;
    if (!netplay_should_skip(netplay))
        netplay->cbs.sample_cb(left, right);
}
Exemplo n.º 15
0
void input_poll_net(void)
{
    netplay_t *netplay = (netplay_t*)netplay_data;
    if (!netplay_should_skip(netplay) && netplay_can_poll(netplay))
        netplay_poll(netplay);
}