|
Linux Kernel
3.7.1
|
#include <linux/spinlock.h>#include <linux/slab.h>#include <linux/init.h>#include <linux/usb.h>#include <sound/core.h>#include <sound/pcm.h>#include "device.h"#include "audio.h"Go to the source code of this file.
Macros | |
| #define | N_URBS 32 |
| #define | CLOCK_DRIFT_TOLERANCE 5 |
| #define | FRAMES_PER_URB 8 |
| #define | BYTES_PER_FRAME 512 |
| #define | CHANNELS_PER_STREAM 2 |
| #define | BYTES_PER_SAMPLE 3 |
| #define | BYTES_PER_SAMPLE_USB 4 |
| #define | MAX_BUFFER_SIZE (128*1024) |
| #define | MAX_ENDPOINT_SIZE 512 |
| #define | ENDPOINT_CAPTURE 2 |
| #define | ENDPOINT_PLAYBACK 6 |
| #define | MAKE_CHECKBYTE(dev, stream, i) (stream << 1) | (~(i / (dev->n_streams * BYTES_PER_SAMPLE_USB)) & 1) |
Functions | |
| int | snd_usb_caiaq_audio_init (struct snd_usb_caiaqdev *dev) |
| void | snd_usb_caiaq_audio_free (struct snd_usb_caiaqdev *dev) |
| void snd_usb_caiaq_audio_free | ( | struct snd_usb_caiaqdev * | dev | ) |
| int snd_usb_caiaq_audio_init | ( | struct snd_usb_caiaqdev * | dev | ) |
1.8.2