19 #include <sys/types.h> 33 #define RSD_DEFAULT_HOST "127.0.0.1" 35 #define RSD_DEFAULT_HOST "localhost" 37 #define RSD_DEFAULT_PORT "12345" 38 #define RSD_DEFAULT_UNIX_SOCK "/tmp/rsound" 39 #define RSD_DEFAULT_OBJECT "rsound" 42 #define RSD_VERSION "1.1" 46 #define RSD_SAMPLERATE RSD_SAMPLERATE 47 #define RSD_CHANNELS RSD_CHANNELS 48 #define RSD_HOST RSD_HOST 49 #define RSD_PORT RSD_PORT 50 #define RSD_BUFSIZE RSD_BUFSIZE 51 #define RSD_LATENCY RSD_LATENCY 52 #define RSD_FORMAT RSD_FORMAT 53 #define RSD_IDENTITY RSD_IDENTITY 55 #define RSD_S16_LE RSD_S16_LE 56 #define RSD_S16_BE RSD_S16_BE 57 #define RSD_U16_LE RSD_U16_LE 58 #define RSD_U16_BE RSD_U16_BE 61 #define RSD_S16_NE RSD_S16_NE 62 #define RSD_U16_NE RSD_U16_NE 63 #define RSD_ALAW RSD_ALAW 64 #define RSD_MULAW RSD_MULAW 66 #define RSD_S32_LE RSD_S32_LE 67 #define RSD_S32_BE RSD_S32_BE 68 #define RSD_S32_NE RSD_S32_NE 69 #define RSD_U32_LE RSD_U32_LE 70 #define RSD_U32_BE RSD_U32_BE 71 #define RSD_U32_NE RSD_U32_NE 73 #define RSD_DELAY_MS RSD_DELAY_MS 74 #define RSD_SAMPLESIZE RSD_SAMPLESIZE 75 #define RSD_EXEC RSD_EXEC 76 #define RSD_SIMPLE_START RSD_SIMPLE_START 78 #define RSD_NO_FMT RSD_NO_FMT 79 #define RSD_USES_OPAQUE_TYPE RSD_USES_OPAQUE_TYPE 80 #define RSD_USES_SAMPLESIZE_MEMBER RSD_USES_SAMPLESIZE_MEMBER 82 #define RSD_AUDIO_CALLBACK_T RSD_AUDIO_CALLBACK_T 83 #define RSD_ERROR_CALLBACK_T RSD_ERROR_CALLBACK_T 84 #define RSD_SET_CALLBACK RSD_SET_CALLBACK 85 #define RSD_CALLBACK_LOCK RSD_CALLBACK_LOCK 86 #define RSD_CALLBACK_UNLOCK RSD_CALLBACK_UNLOCK uint32_t latency
Definition: rsound.h:161
uint32_t chunk_size
Definition: rsound.h:162
#define RSD_U16_LE
Definition: rsound.h:57
volatile int ctl_socket
Definition: rsound.h:138
char * host
Definition: rsound.h:141
int rsd_simple_start(rsound_t **rd, const char *host, const char *port, const char *ident, int rate, int channels, enum rsd_format format)
Definition: librsound.c:1587
size_t rsd_delay(rsound_t *rd)
Definition: librsound.c:1525
#define RSD_HOST
Definition: rsound.h:48
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
#define RSD_S32_NE
Definition: rsound.h:68
#define RSD_U32_BE
Definition: rsound.h:70
struct rsound::@1 backend_info
#define RSD_U16_NE
Definition: rsound.h:62
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
size_t rsd_get_avail(rsound_t *rd)
Definition: librsound.c:1517
Definition: rthreads.c:88
int64_t start_time
Definition: rsound.h:153
uint32_t channels
Definition: rsound.h:168
char identity[256]
Definition: rsound.h:180
rsd_error_callback_t error_callback
Definition: rsound.h:183
#define RSD_S16_BE
Definition: rsound.h:56
GLsizeiptr size
Definition: glext.h:6559
#define RSD_IDENTITY
Definition: rsound.h:53
includes all by default used to find thumbnails Please choose a single playlist first Add Entry Add Folder Select Files< multiple > Please fill out all required fields RetroArch updated successfully Please restart the application for the changes to take effect Contributors Move Down Load Remove Add Pass No shader passes Reset All Passes Download thumbnail Start on Download All Thumbnails This Playlist Configured in port
Definition: msg_hash_us.h:7699
void * cb_data
Definition: rsound.h:185
GLboolean enable
Definition: glext.h:12027
slock_t * mutex
Definition: rsound.h:175
int samplesize
Definition: rsound.h:170
sthread_t * thread
Definition: rsound.h:174
rsd_audio_callback_t audio_callback
Definition: rsound.h:182
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void rsd_delay_wait(rsound_t *rd)
Definition: librsound.c:1482
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
typedefRETRO_BEGIN_DECLS struct sthread sthread_t
Definition: rthreads.h:35
#define RSD_S16_LE
Definition: rsound.h:55
#define RSD_FORMAT
Definition: rsound.h:52
void callback(s32 result, dvdcmdblk *block)
Definition: dvd.c:2293
char * port
Definition: rsound.h:142
rsd_settings
Definition: rsound.h:113
#define RSD_PORT
Definition: rsound.h:49
#define RSD_NO_FMT
Definition: rsound.h:78
#define RSD_MULAW
Definition: rsound.h:64
rsd_format
Definition: rsound.h:91
GLfloat param
Definition: glext.h:6480
#define RSD_S32_LE
Definition: rsound.h:66
#define RSD_U32_LE
Definition: rsound.h:69
int rsd_exec(rsound_t *rd)
Definition: librsound.c:1355
char * buffer
Definition: rsound.h:143
Definition: fifo_queue.h:35
fifo_buffer_t * fifo_buffer
Definition: rsound.h:148
volatile int buffer_pointer
Definition: rsound.h:146
uint16_t format
Definition: rsound.h:169
volatile int socket
Definition: rsound.h:137
#define RSD_SAMPLERATE
Definition: rsound.h:46
size_t buffer_size
Definition: rsound.h:147
int rsd_stop(rsound_t *rd)
Definition: librsound.c:1300
#define RSD_U32_NE
Definition: rsound.h:71
Definition: rthreads.c:106
void rsd_callback_lock(rsound_t *rd)
Definition: librsound.c:1634
#define RSD_S8
Definition: rsound.h:60
#define RSD_S16_NE
Definition: rsound.h:61
#define RSD_U8
Definition: rsound.h:59
size_t rsd_pointer(rsound_t *rd)
Definition: librsound.c:1507
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
size_t rsd_delay_ms(rsound_t *rd)
Definition: librsound.c:1535
#define RSD_LATENCY
Definition: rsound.h:51
volatile int thread_active
Definition: rsound.h:150
slock_t * cond_mutex
Definition: rsound.h:176
int max_latency
Definition: rsound.h:157
int bytes_in_buffer
Definition: rsound.h:155
int rsd_pause(rsound_t *rd, int enable)
Definition: librsound.c:1543
#define RSD_S32_BE
Definition: rsound.h:67
int delay_offset
Definition: rsound.h:156
void rsd_callback_unlock(rsound_t *rd)
Definition: librsound.c:1639
int rsd_start(rsound_t *rd)
Definition: librsound.c:1341
int rsd_set_param(rsound_t *rd, enum rsd_settings option, void *param)
Definition: librsound.c:1408
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
volatile int has_written
Definition: rsound.h:154
uint32_t rate
Definition: rsound.h:167
signed __int64 int64_t
Definition: stdint.h:135
size_t rsd_write(rsound_t *rd, const void *buf, size_t size)
Definition: librsound.c:1315
scond_t * cond
Definition: rsound.h:177
volatile int ready_for_data
Definition: rsound.h:165
int rsd_init(rsound_t **rd)
Definition: librsound.c:1552
int conn_type
Definition: rsound.h:144
#define RSD_BUFSIZE
Definition: rsound.h:50
#define RSD_U16_BE
Definition: rsound.h:58
int rsd_free(rsound_t *rd)
Definition: librsound.c:1644
ssize_t(* rsd_audio_callback_t)(void *data, size_t bytes, void *userdata)
Definition: rsound.h:126
void rsd_set_callback(rsound_t *rd, rsd_audio_callback_t callback, rsd_error_callback_t err_callback, size_t max_size, void *userdata)
Definition: librsound.c:1619
void(* rsd_error_callback_t)(void *userdata)
Definition: rsound.h:130
#define RSD_ALAW
Definition: rsound.h:63
slock_t * cb_lock
Definition: rsound.h:186
unsigned short uint16_t
Definition: stdint.h:125
unsigned int uint32_t
Definition: stdint.h:126
int rsd_samplesize(rsound_t *rd)
Definition: librsound.c:214
int64_t total_written
Definition: rsound.h:152
size_t cb_max_size
Definition: rsound.h:184
#define RSD_CHANNELS
Definition: rsound.h:47