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

Go to the source code of this file.

Macros

#define BUFFER_BYTES_MAX   ((1 << 16) * 4)
 
#define BUFFER_BYTES_MAX_MULTICH   ((1 << 24) * 4)
 
#define PERIOD_BYTES_MIN   64
 
#define DEFAULT_BUFFER_BYTES   (BUFFER_BYTES_MAX / 2)
 
#define DEFAULT_BUFFER_BYTES_MULTICH   (1024 * 1024)
 

Functions

int oxygen_pcm_init (struct oxygen *chip)
 

Macro Definition Documentation

#define BUFFER_BYTES_MAX   ((1 << 16) * 4)

Definition at line 28 of file oxygen_pcm.c.

#define BUFFER_BYTES_MAX_MULTICH   ((1 << 24) * 4)

Definition at line 30 of file oxygen_pcm.c.

#define DEFAULT_BUFFER_BYTES   (BUFFER_BYTES_MAX / 2)

Definition at line 34 of file oxygen_pcm.c.

#define DEFAULT_BUFFER_BYTES_MULTICH   (1024 * 1024)

Definition at line 35 of file oxygen_pcm.c.

#define PERIOD_BYTES_MIN   64

Definition at line 32 of file oxygen_pcm.c.

Function Documentation

int oxygen_pcm_init ( struct oxygen chip)

Definition at line 674 of file oxygen_pcm.c.