Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
rate.c File Reference
#include <linux/time.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include "pcm_plugin.h"

Go to the source code of this file.

Data Structures

struct  rate_channel
 
struct  rate_priv
 

Macros

#define SHIFT   11
 
#define BITS   (1<<SHIFT)
 
#define R_MASK   (BITS-1)
 

Typedefs

typedef void(* rate_f )(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, int src_frames, int dst_frames)
 

Functions

int snd_pcm_plugin_build_rate (struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin)
 

Macro Definition Documentation

#define BITS   (1<<SHIFT)

Definition at line 28 of file rate.c.

#define R_MASK   (BITS-1)

Definition at line 29 of file rate.c.

#define SHIFT   11

Definition at line 27 of file rate.c.

Typedef Documentation

typedef void(* rate_f)(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, int src_frames, int dst_frames)

Definition at line 40 of file rate.c.

Function Documentation

int snd_pcm_plugin_build_rate ( struct snd_pcm_substream plug,
struct snd_pcm_plugin_format *  src_format,
struct snd_pcm_plugin_format *  dst_format,
struct snd_pcm_plugin **  r_plugin 
)

Definition at line 300 of file rate.c.