|
RetroArch
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <boolean.h>#include <streams/chd_stream.h>#include <retro_endianness.h>#include <libchdr/chd.h>Classes | |
| struct | chdstream |
| struct | metadata |
Macros | |
| #define | SECTOR_SIZE 2352 |
| #define | SUBCODE_SIZE 96 |
| #define | TRACK_PAD 4 |
Typedefs | |
| typedef struct metadata | metadata_t |
Functions | |
| static uint32_t | padding_frames (uint32_t frames) |
| static bool | chdstream_get_meta (chd_file *chd, int idx, metadata_t *md) |
| static bool | chdstream_find_track_number (chd_file *fd, int32_t track, metadata_t *meta) |
| static bool | chdstream_find_special_track (chd_file *fd, int32_t track, metadata_t *meta) |
| static bool | chdstream_find_track (chd_file *fd, int32_t track, metadata_t *meta) |
| chdstream_t * | chdstream_open (const char *path, int32_t track) |
| void | chdstream_close (chdstream_t *stream) |
| static bool | chdstream_load_hunk (chdstream_t *stream, uint32_t hunknum) |
| ssize_t | chdstream_read (chdstream_t *stream, void *data, size_t bytes) |
| int | chdstream_getc (chdstream_t *stream) |
| char * | chdstream_gets (chdstream_t *stream, char *buffer, size_t len) |
| uint64_t | chdstream_tell (chdstream_t *stream) |
| void | chdstream_rewind (chdstream_t *stream) |
| int64_t | chdstream_seek (chdstream_t *stream, int64_t offset, int whence) |
| ssize_t | chdstream_get_size (chdstream_t *stream) |
| #define SECTOR_SIZE 2352 |
| #define SUBCODE_SIZE 96 |
| #define TRACK_PAD 4 |
| typedef struct metadata metadata_t |
| void chdstream_close | ( | chdstream_t * | stream | ) |
|
static |
|
static |
|
static |
|
static |
| ssize_t chdstream_get_size | ( | chdstream_t * | stream | ) |
| int chdstream_getc | ( | chdstream_t * | stream | ) |
| char* chdstream_gets | ( | chdstream_t * | stream, |
| char * | buffer, | ||
| size_t | len | ||
| ) |
|
static |
| chdstream_t* chdstream_open | ( | const char * | path, |
| int32_t | track | ||
| ) |
| ssize_t chdstream_read | ( | chdstream_t * | stream, |
| void * | data, | ||
| size_t | bytes | ||
| ) |
| void chdstream_rewind | ( | chdstream_t * | stream | ) |
| int64_t chdstream_seek | ( | chdstream_t * | stream, |
| int64_t | offset, | ||
| int | whence | ||
| ) |
| uint64_t chdstream_tell | ( | chdstream_t * | stream | ) |
1.8.15