Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcm.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/ratelimit.h>
#include <linux/usb.h>
#include <linux/usb/audio.h>
#include <linux/usb/audio-v2.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "usbaudio.h"
#include "card.h"
#include "quirks.h"
#include "debug.h"
#include "endpoint.h"
#include "helper.h"
#include "pcm.h"
#include "clock.h"
#include "power.h"

Go to the source code of this file.

Macros

#define SUBSTREAM_FLAG_DATA_EP_STARTED   0
 
#define SUBSTREAM_FLAG_SYNC_EP_STARTED   1
 

Functions

snd_pcm_uframes_t snd_usb_pcm_delay (struct snd_usb_substream *subs, unsigned int rate)
 
int snd_usb_init_pitch (struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt)
 
void snd_usb_set_pcm_ops (struct snd_pcm *pcm, int stream)
 

Macro Definition Documentation

#define SUBSTREAM_FLAG_DATA_EP_STARTED   0

Definition at line 38 of file pcm.c.

#define SUBSTREAM_FLAG_SYNC_EP_STARTED   1

Definition at line 39 of file pcm.c.

Function Documentation

int snd_usb_init_pitch ( struct snd_usb_audio chip,
int  iface,
struct usb_host_interface *  alts,
struct audioformat fmt 
)

Definition at line 197 of file pcm.c.

snd_pcm_uframes_t snd_usb_pcm_delay ( struct snd_usb_substream subs,
unsigned int  rate 
)

Definition at line 42 of file pcm.c.

void snd_usb_set_pcm_ops ( struct snd_pcm pcm,
int  stream 
)

Definition at line 1322 of file pcm.c.