src/pcm_utils.h File Reference

#include <glib.h>
#include <stdint.h>

Go to the source code of this file.

Functions

static int32_t pcm_range (int32_t sample, unsigned bits)
 Check if the value is within the range of the provided bit size, and caps it if necessary.


Function Documentation

static int32_t pcm_range ( int32_t  sample,
unsigned  bits 
) [inline, static]

Check if the value is within the range of the provided bit size, and caps it if necessary.

Definition at line 32 of file pcm_utils.h.


Generated on Tue Aug 24 22:29:32 2010 for MPD by  doxygen 1.5.7.1