Linux Kernel
3.7.1
|
#include "sst_dsp.h"
Go to the source code of this file.
Data Structures | |
struct | pcm_stream_info |
struct | sst_pcm_params |
struct | sst_stream_params |
struct | sst_compress_cb |
struct | compress_sst_ops |
struct | sst_ops |
struct | sst_runtime_stream |
struct | sst_device |
Macros | |
#define | SST_MONO 1 |
#define | SST_STEREO 2 |
#define | SST_MAX_CAP 5 |
#define | SST_MIN_RATE 8000 |
#define | SST_MAX_RATE 48000 |
#define | SST_MIN_CHANNEL 1 |
#define | SST_MAX_CHANNEL 5 |
#define | SST_MAX_BUFFER (800*1024) |
#define | SST_MIN_BUFFER (800*1024) |
#define | SST_MIN_PERIOD_BYTES 32 |
#define | SST_MAX_PERIOD_BYTES SST_MAX_BUFFER |
#define | SST_MIN_PERIODS 2 |
#define | SST_MAX_PERIODS (1024*2) |
#define | SST_FIFO_SIZE 0 |
Enumerations | |
enum | sst_drv_status { SST_PLATFORM_INIT = 1, SST_PLATFORM_STARTED, SST_PLATFORM_RUNNING, SST_PLATFORM_PAUSED, SST_PLATFORM_DROPPED } |
enum | sst_controls { SST_SND_ALLOC = 0x00, SST_SND_PAUSE = 0x01, SST_SND_RESUME = 0x02, SST_SND_DROP = 0x03, SST_SND_FREE = 0x04, SST_SND_BUFFER_POINTER = 0x05, SST_SND_STREAM_INIT = 0x06, SST_SND_START = 0x07, SST_MAX_CONTROLS = 0x07 } |
enum | sst_stream_ops { STREAM_OPS_PLAYBACK = 0, STREAM_OPS_CAPTURE } |
enum | sst_audio_device_type { SND_SST_DEVICE_HEADSET = 1, SND_SST_DEVICE_IHF, SND_SST_DEVICE_VIBRA, SND_SST_DEVICE_HAPTIC, SND_SST_DEVICE_CAPTURE, SND_SST_DEVICE_COMPRESS } |
Functions | |
int | sst_register_dsp (struct sst_device *sst) |
int | sst_unregister_dsp (struct sst_device *sst) |
#define SST_FIFO_SIZE 0 |
Definition at line 46 of file sst_platform.h.
#define SST_MAX_BUFFER (800*1024) |
Definition at line 40 of file sst_platform.h.
#define SST_MAX_CAP 5 |
Definition at line 34 of file sst_platform.h.
#define SST_MAX_CHANNEL 5 |
Definition at line 39 of file sst_platform.h.
#define SST_MAX_PERIOD_BYTES SST_MAX_BUFFER |
Definition at line 43 of file sst_platform.h.
#define SST_MAX_PERIODS (1024*2) |
Definition at line 45 of file sst_platform.h.
#define SST_MAX_RATE 48000 |
Definition at line 37 of file sst_platform.h.
#define SST_MIN_BUFFER (800*1024) |
Definition at line 41 of file sst_platform.h.
#define SST_MIN_CHANNEL 1 |
Definition at line 38 of file sst_platform.h.
#define SST_MIN_PERIOD_BYTES 32 |
Definition at line 42 of file sst_platform.h.
#define SST_MIN_PERIODS 2 |
Definition at line 44 of file sst_platform.h.
#define SST_MIN_RATE 8000 |
Definition at line 36 of file sst_platform.h.
#define SST_MONO 1 |
Definition at line 32 of file sst_platform.h.
#define SST_STEREO 2 |
Definition at line 33 of file sst_platform.h.
SND_SST_DEVICE_HEADSET | |
SND_SST_DEVICE_IHF | |
SND_SST_DEVICE_VIBRA | |
SND_SST_DEVICE_HAPTIC | |
SND_SST_DEVICE_CAPTURE | |
SND_SST_DEVICE_COMPRESS |
Definition at line 81 of file sst_platform.h.
enum sst_controls |
SST_SND_ALLOC | |
SST_SND_PAUSE | |
SST_SND_RESUME | |
SST_SND_DROP | |
SST_SND_FREE | |
SST_SND_BUFFER_POINTER | |
SST_SND_STREAM_INIT | |
SST_SND_START | |
SST_MAX_CONTROLS |
Definition at line 64 of file sst_platform.h.
enum sst_drv_status |
SST_PLATFORM_INIT | |
SST_PLATFORM_STARTED | |
SST_PLATFORM_RUNNING | |
SST_PLATFORM_PAUSED | |
SST_PLATFORM_DROPPED |
Definition at line 56 of file sst_platform.h.
enum sst_stream_ops |
Definition at line 76 of file sst_platform.h.
int sst_register_dsp | ( | struct sst_device * | sst | ) |
Definition at line 41 of file sst_platform.c.
int sst_unregister_dsp | ( | struct sst_device * | sst | ) |
Definition at line 60 of file sst_platform.c.