Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
u_uac1.h File Reference
#include <linux/device.h>
#include <linux/err.h>
#include <linux/usb/audio.h>
#include <linux/usb/composite.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "gadget_chips.h"

Go to the source code of this file.

Data Structures

struct  gaudio_snd_dev
 
struct  gaudio
 

Functions

int gaudio_setup (struct gaudio *card)
 
void gaudio_cleanup (void)
 

Function Documentation

void gaudio_cleanup ( void  )

gaudio_cleanup - remove ALSA device interface

This is called to free all resources allocated by ().

Definition at line 320 of file u_uac1.c.

int gaudio_setup ( struct gaudio card)

gaudio_setup - setup ALSA interface and preparing for USB transfer

This sets up PCM, mixer or MIDI ALSA devices fore USB gadget using.

Returns negative errno, or zero on success

Definition at line 301 of file u_uac1.c.