Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sound_chef_encoder.h File Reference

Provides extensions to miniaudio's encoding API. More...

#include "sound_chef/sound_chef_common.h"
Include dependency graph for sound_chef_encoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sc_encoder_config
 
struct  sc_encoder
 

Typedefs

typedef struct sc_encoder_config sc_encoder_config
 
typedef struct sc_encoder sc_encoder
 

Functions

sc_encoder_config SC_API sc_encoder_config_init (sc_encoding_format encodingFormat, ma_format format, ma_uint32 channels, ma_uint32 sampleRate, ma_uint8 quality)
 
sc_result SC_API sc_encoder_init (ma_encoder_write_proc onWrite, ma_encoder_seek_proc onSeek, void *userData, const sc_encoder_config *config, sc_encoder *encoder)
 
sc_result SC_API sc_encoder_init_file (const char *filePath, const sc_encoder_config *config, sc_encoder *encoder)
 
sc_result SC_API sc_encoder_write_pcm_frames (sc_encoder *encoder, const void *framesIn, ma_uint64 frameCount, ma_uint64 *framesWritten)
 
sc_result SC_API sc_encoder_uninit (sc_encoder *encoder)
 
sc_result SC_API sc_encoder_write_from_file (const char *decodeFilePath, const char *encodeFilePath, const sc_encoder_config *config)
 

Detailed Description

Provides extensions to miniaudio's encoding API.

Handles encoding for soundbanks.