Parser functions for audio related objects. More...
#include <glib.h>
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | audio_format_parse (struct audio_format *dest, const char *src, GError **error) |
Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an audio_format. |
Parser functions for audio related objects.
Definition in file audio_parser.h.
bool audio_format_parse | ( | struct audio_format * | dest, | |
const char * | src, | |||
GError ** | error | |||
) |
Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an audio_format.
dest | the destination audio_format struct | |
src | the input string | |
error | location to store the error occuring, or NULL to ignore errors |