#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <wchar.h>
#include <assert.h>
#include <errno.h>
Go to the source code of this file.
|
DROPUS_API void | dropus_free (void *p, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
DROPUS_API dropus_result | dropus_init (dropus *pOpus, dropus_read_proc onRead, dropus_seek_proc onSeek, void *pUserData, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
DROPUS_API dropus_result | dropus_init_file (dropus *pOpus, const char *pFilePath, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
DROPUS_API dropus_result | dropus_init_file_w (dropus *pOpus, const wchar_t *pFilePath, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
DROPUS_API dropus_result | dropus_init_memory (dropus *pOpus, const void *pData, size_t dataSize, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
DROPUS_API void * | dropus_malloc (size_t sz, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
DROPUS_API void * | dropus_realloc (void *p, size_t sz, const dropus_allocation_callbacks *pAllocationCallbacks) |
|
const DROPUS_API char * | dropus_result_description (dropus_result result) |
|
DROPUS_API dropus_result | dropus_stream_decode_packet (dropus_stream *pOpusStream, const void *pData, size_t dataSize) |
|
DROPUS_API dropus_result | dropus_stream_init (dropus_stream *pOpusStream) |
|
DROPUS_API void | dropus_uninit (dropus *pOpus) |
|
◆ DROPUS_ACCESS_DENIED
#define DROPUS_ACCESS_DENIED -6 |
◆ DROPUS_ADDRESS_FAMILY_NOT_SUPPORTED
#define DROPUS_ADDRESS_FAMILY_NOT_SUPPORTED -43 |
◆ DROPUS_ALREADY_CONNECTED
#define DROPUS_ALREADY_CONNECTED -46 |
◆ DROPUS_ALREADY_EXISTS
#define DROPUS_ALREADY_EXISTS -8 |
◆ DROPUS_ALREADY_IN_USE
#define DROPUS_ALREADY_IN_USE -23 |
◆ DROPUS_API
#define DROPUS_API extern |
◆ DROPUS_AT_END
#define DROPUS_AT_END -53 |
◆ DROPUS_BAD_ADDRESS
#define DROPUS_BAD_ADDRESS -24 |
◆ DROPUS_BAD_DATA
#define DROPUS_BAD_DATA -101 |
◆ DROPUS_BAD_MESSAGE
#define DROPUS_BAD_MESSAGE -31 |
◆ DROPUS_BAD_PIPE
#define DROPUS_BAD_PIPE -26 |
◆ DROPUS_BAD_PROTOCOL
#define DROPUS_BAD_PROTOCOL -39 |
◆ DROPUS_BAD_SEEK
#define DROPUS_BAD_SEEK -25 |
◆ DROPUS_BUSY
◆ DROPUS_CANCELLED
#define DROPUS_CANCELLED -51 |
◆ DROPUS_CONNECTION_REFUSED
#define DROPUS_CONNECTION_REFUSED -48 |
◆ DROPUS_CONNECTION_RESET
#define DROPUS_CONNECTION_RESET -45 |
◆ DROPUS_CRC_MISMATCH
#define DROPUS_CRC_MISMATCH -100 |
◆ DROPUS_DEADLOCK
#define DROPUS_DEADLOCK -27 |
◆ DROPUS_DIRECTORY_NOT_EMPTY
#define DROPUS_DIRECTORY_NOT_EMPTY -16 |
◆ DROPUS_DOES_NOT_EXIST
#define DROPUS_DOES_NOT_EXIST -7 |
◆ DROPUS_END_OF_FILE
#define DROPUS_END_OF_FILE -17 |
◆ DROPUS_ERROR
#define DROPUS_ERROR -1 /* A generic error. */ |
◆ DROPUS_FALSE
◆ DROPUS_IN_PROGRESS
#define DROPUS_IN_PROGRESS -50 |
◆ DROPUS_INLINE
◆ DROPUS_INTERRUPT
#define DROPUS_INTERRUPT -21 |
◆ DROPUS_INVALID_ARGS
#define DROPUS_INVALID_ARGS -2 |
◆ DROPUS_INVALID_DATA
#define DROPUS_INVALID_DATA -33 |
◆ DROPUS_INVALID_FILE
#define DROPUS_INVALID_FILE -10 |
◆ DROPUS_INVALID_OPERATION
#define DROPUS_INVALID_OPERATION -3 |
◆ DROPUS_IO_ERROR
#define DROPUS_IO_ERROR -20 |
◆ DROPUS_IS_DIRECTORY
#define DROPUS_IS_DIRECTORY -15 |
◆ DROPUS_MAX_OPUS_FRAMES_PER_PACKET
#define DROPUS_MAX_OPUS_FRAMES_PER_PACKET 48 /* RFC 6716 - Section 3.2.5 */ |
◆ DROPUS_MAX_PCM_FRAMES_PER_PACKET
#define DROPUS_MAX_PCM_FRAMES_PER_PACKET 6144 /* RFC 6716 - Section 3.2.5. Maximum of 120ms. Maximum rate is 48kHz. 6144 = 120*48. */ |
◆ DROPUS_MEMORY_ALREADY_MAPPED
#define DROPUS_MEMORY_ALREADY_MAPPED -52 |
◆ DROPUS_NAME_TOO_LONG
#define DROPUS_NAME_TOO_LONG -13 |
◆ DROPUS_NO_ADDRESS
#define DROPUS_NO_ADDRESS -38 |
◆ DROPUS_NO_DATA_AVAILABLE
#define DROPUS_NO_DATA_AVAILABLE -32 |
◆ DROPUS_NO_HOST
#define DROPUS_NO_HOST -49 |
◆ DROPUS_NO_MESSAGE
#define DROPUS_NO_MESSAGE -30 |
◆ DROPUS_NO_NETWORK
#define DROPUS_NO_NETWORK -35 |
◆ DROPUS_NO_SPACE
#define DROPUS_NO_SPACE -18 |
◆ DROPUS_NOT_CONNECTED
#define DROPUS_NOT_CONNECTED -47 |
◆ DROPUS_NOT_DIRECTORY
#define DROPUS_NOT_DIRECTORY -14 |
◆ DROPUS_NOT_IMPLEMENTED
#define DROPUS_NOT_IMPLEMENTED -29 |
◆ DROPUS_NOT_SOCKET
#define DROPUS_NOT_SOCKET -37 |
◆ DROPUS_NOT_UNIQUE
#define DROPUS_NOT_UNIQUE -36 |
◆ DROPUS_OUT_OF_MEMORY
#define DROPUS_OUT_OF_MEMORY -4 |
◆ DROPUS_OUT_OF_RANGE
#define DROPUS_OUT_OF_RANGE -5 |
◆ DROPUS_PATH_TOO_LONG
#define DROPUS_PATH_TOO_LONG -12 |
◆ DROPUS_PRIVATE
#define DROPUS_PRIVATE static |
◆ DROPUS_PROTOCOL_FAMILY_NOT_SUPPORTED
#define DROPUS_PROTOCOL_FAMILY_NOT_SUPPORTED -42 |
◆ DROPUS_PROTOCOL_NOT_SUPPORTED
#define DROPUS_PROTOCOL_NOT_SUPPORTED -41 |
◆ DROPUS_PROTOCOL_UNAVAILABLE
#define DROPUS_PROTOCOL_UNAVAILABLE -40 |
◆ DROPUS_SIZE_MAX
#define DROPUS_SIZE_MAX 0xFFFFFFFF /* When SIZE_MAX is not defined by the standard library just default to the maximum 32-bit unsigned integer. */ |
◆ DROPUS_SOCKET_NOT_SUPPORTED
#define DROPUS_SOCKET_NOT_SUPPORTED -44 |
◆ DROPUS_SUCCESS
◆ DROPUS_TIMEOUT
#define DROPUS_TIMEOUT -34 |
◆ DROPUS_TOO_BIG
#define DROPUS_TOO_BIG -11 |
◆ DROPUS_TOO_MANY_LINKS
#define DROPUS_TOO_MANY_LINKS -28 |
◆ DROPUS_TOO_MANY_OPEN_FILES
#define DROPUS_TOO_MANY_OPEN_FILES -9 |
◆ DROPUS_TRUE
◆ DROPUS_UNAVAILABLE
#define DROPUS_UNAVAILABLE -22 |
◆ NULL
◆ dropus_bool32
◆ dropus_bool8
◆ dropus_handle
◆ dropus_int16
◆ dropus_int32
◆ dropus_int64
◆ dropus_int8
◆ dropus_proc
typedef void(* dropus_proc) (void) |
◆ dropus_ptr
◆ dropus_read_proc
typedef size_t(* dropus_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead) |
◆ dropus_result
◆ dropus_seek_proc
◆ dropus_uint16
◆ dropus_uint32
◆ dropus_uint64
◆ dropus_uint8
◆ dropus_uintptr
◆ dropus_mode
◆ dropus_seek_origin
◆ dropus_free()
◆ dropus_init()
◆ dropus_init_file()
◆ dropus_init_file_w()
◆ dropus_init_memory()
◆ dropus_malloc()
◆ dropus_realloc()
◆ dropus_result_description()
◆ dropus_stream_decode_packet()
◆ dropus_stream_init()
◆ dropus_uninit()