21 |
#include <sound/hwdep.h> |
#include <sound/hwdep.h> |
22 |
#include <sound/ac97_codec.h> |
#include <sound/ac97_codec.h> |
23 |
#include <asm/io.h> |
#include <asm/io.h> |
24 |
|
#include <linux/init.h> |
25 |
/* |
/* |
26 |
#ifndef PCI_VENDOR_ID_AUREAL |
#ifndef PCI_VENDOR_ID_AUREAL |
27 |
#define PCI_VENDOR_ID_AUREAL 0x12eb |
#define PCI_VENDOR_ID_AUREAL 0x12eb |
53 |
#define SRC_RATIO(x) ((((x<<15)/48000) + 1)/2) |
#define SRC_RATIO(x) ((((x<<15)/48000) + 1)/2) |
54 |
#define SRC_RATIO2(x) ((((48000<<15)/x) + 1)/2) |
#define SRC_RATIO2(x) ((((48000<<15)/x) + 1)/2) |
55 |
|
|
56 |
|
|
57 |
|
/* FIFO software state constants. */ |
58 |
|
#define FIFO_STOP 0 |
59 |
|
#define FIFO_START 1 |
60 |
|
#define FIFO_PAUSE 2 |
61 |
|
|
62 |
|
|
63 |
/* Structs */ |
/* Structs */ |
64 |
|
|
65 |
typedef struct { |
typedef struct { |