mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Getr id of perf counters
This commit is contained in:
parent
d06c963a19
commit
8f15467215
@ -20,8 +20,6 @@
|
||||
|
||||
#include "../audio_driver.h"
|
||||
|
||||
#include "../../performance_counters.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
bool nonblocking;
|
||||
@ -168,7 +166,6 @@ static ssize_t ctr_csnd_audio_write(void *data, const void *buf, size_t size)
|
||||
int i;
|
||||
uint32_t samples_played = 0;
|
||||
uint64_t current_tick = 0;
|
||||
static struct retro_perf_counter ctraudio_f = {0};
|
||||
const uint16_t *src = buf;
|
||||
ctr_csnd_audio_t *ctr = (ctr_csnd_audio_t*)data;
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <malloc.h>
|
||||
|
||||
#include "../audio_driver.h"
|
||||
#include "../../performance_counters.h"
|
||||
#include "../../ctr/ctr_debug.h"
|
||||
|
||||
typedef struct
|
||||
@ -96,7 +95,6 @@ static void ctr_dsp_audio_free(void *data)
|
||||
static ssize_t ctr_dsp_audio_write(void *data, const void *buf, size_t size)
|
||||
{
|
||||
u32 pos;
|
||||
static struct retro_perf_counter ctraudio_dsp_f = {0};
|
||||
ctr_dsp_audio_t * ctr = (ctr_dsp_audio_t*)data;
|
||||
uint32_t sample_pos = ndspChnGetSamplePos(ctr->channel);
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "wiiu/system/memory.h"
|
||||
|
||||
#include "audio/audio_driver.h"
|
||||
#include "performance_counters.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@ -195,7 +194,6 @@ static bool ax_audio_start(void* data, bool is_shutdown)
|
||||
static ssize_t ax_audio_write(void* data, const void* buf, size_t size)
|
||||
{
|
||||
int i;
|
||||
static struct retro_perf_counter ax_audio_write_perf = {0};
|
||||
size_t countAvail = 0;
|
||||
ax_audio_t* ax = (ax_audio_t*)data;
|
||||
const uint16_t* src = buf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user