RetroArch
|
#include <stdint.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <kernel.h>
#include <audsrv.h>
#include "../audio_driver.h"
Classes | |
struct | ps2_audio |
Macros | |
#define | AUDIO_OUT_BUFFER 2 * 1024 |
#define | AUDIO_BUFFER 64 * 1024 |
#define | AUDIO_CHANNELS 2 |
#define | AUDIO_BITS 16 |
#define | AUDIO_PRIORITY 0x7F /* LOWER VALUE GRATHER PRIORITY*/ |
Typedefs | |
typedef struct ps2_audio | ps2_audio_t |
Functions | |
static u8 audioThreadStack [4 *1024] | __attribute__ ((aligned(16))) |
static void | audioMainLoop (void *data) |
static void | audioCreateThread (ps2_audio_t *ps2) |
static void | audioStopNDeleteThread (ps2_audio_t *ps2) |
static void | audioConfigure (ps2_audio_t *ps2, unsigned rate) |
static void | audioCreateSemas (ps2_audio_t *ps2) |
static void * | ps2_audio_init (const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate) |
static void | ps2_audio_free (void *data) |
static ssize_t | ps2_audio_write (void *data, const void *buf, size_t size) |
static bool | ps2_audio_alive (void *data) |
static bool | ps2_audio_stop (void *data) |
static bool | ps2_audio_start (void *data, bool is_shutdown) |
static void | ps2_audio_set_nonblock_state (void *data, bool toggle) |
static bool | ps2_audio_use_float (void *data) |
static size_t | ps2_audio_write_avail (void *data) |
static size_t | ps2_audio_buffer_size (void *data) |
Variables | |
static ps2_audio_t * | backup_ps2 |
audio_driver_t | audio_ps2 |
#define AUDIO_BITS 16 |
#define AUDIO_BUFFER 64 * 1024 |
#define AUDIO_CHANNELS 2 |
#define AUDIO_OUT_BUFFER 2 * 1024 |
#define AUDIO_PRIORITY 0x7F /* LOWER VALUE GRATHER PRIORITY*/ |
typedef struct ps2_audio ps2_audio_t |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
audio_driver_t audio_ps2 |
|
static |