src/audio_parser.h File Reference

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.


Detailed Description

Parser functions for audio related objects.

Definition in file audio_parser.h.


Function Documentation

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.

Parameters:
dest the destination audio_format struct
src the input string
error location to store the error occuring, or NULL to ignore errors
Returns:
true on success


Generated on Thu Sep 3 02:29:41 2009 for MPD by  doxygen 1.5.9