Go to the documentation of this file.
32 framesToRead =
ma_min(tempCapIn, tempCapOut);
41 if (framesJustRead < framesToRead) {
55 const char* pInputFilePath;
58 printf(
"No input file.\n");
62 pInputFilePath =
argv[1];
static MA_INLINE ma_uint32 ma_get_bytes_per_frame(ma_format format, ma_uint32 channels)
int test_entry__dithering(int argc, char **argv)
@ ma_dither_mode_triangle
ma_result ma_decoder_uninit(ma_decoder *pDecoder)
ma_decoder_config ma_decoder_config_init(ma_format outputFormat, ma_uint32 outputChannels, ma_uint32 outputSampleRate)
ma_result test_dithering__u8(const char *pInputFilePath)
ma_uint64 ma_encoder_write_pcm_frames(ma_encoder *pEncoder, const void *pFramesIn, ma_uint64 frameCount)
void ma_encoder_uninit(ma_encoder *pEncoder)
ma_result ma_encoder_init_file(const char *pFilePath, const ma_encoder_config *pConfig, ma_encoder *pEncoder)
ma_encoder_config ma_encoder_config_init(ma_resource_format resourceFormat, ma_format format, ma_uint32 channels, ma_uint32 sampleRate)
ma_uint64 ma_decoder_read_pcm_frames(ma_decoder *pDecoder, void *pFramesOut, ma_uint64 frameCount)
ma_result ma_decoder_init_file(const char *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
void ma_convert_pcm_frames_format(void *pOut, ma_format formatOut, const void *pIn, ma_format formatIn, ma_uint64 frameCount, ma_uint32 channels, ma_dither_mode ditherMode)
ma_uint32 outputSampleRate