diff options
author | Winfried Ritsch <ritsch@users.sourceforge.net> | 2006-03-27 11:15:14 +0000 |
---|---|---|
committer | Winfried Ritsch <ritsch@users.sourceforge.net> | 2006-03-27 11:15:14 +0000 |
commit | eb431ff9898a74b6a5f451373ffc390f4467f910 (patch) | |
tree | 28e6170a3028b65b0a2c16647ef3fe8ff8a27f8c /hdspm_mixer.h |
This commit was generated by cvs2svn to compensate for changes in r4782,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/iem/hdspm_mixer/; revision=4783
Diffstat (limited to 'hdspm_mixer.h')
-rw-r--r-- | hdspm_mixer.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/hdspm_mixer.h b/hdspm_mixer.h new file mode 100644 index 0000000..93e5418 --- /dev/null +++ b/hdspm_mixer.h @@ -0,0 +1,28 @@ +/* Very simple Mixer for RME DSP-MADI and maybe other hammerfall dsp + (C) 2003 IEM, Winfried Ritsch (ritsch at iem.at) + Institute of Electronic Music and Acoustics + GPL - see Licence.txt + + Header +*/ + + +/* globals */ +#define HDSPMM_VERSION "0.6" +#define HDSPMM_MAX_CARDS 3 +#define HDSPMM_MAX_NAME_LEN 128 + + +/* Protos */ + +int get_gain(int idx, int src, int dst); +int set_gain(int idx, int src, int dst, int val); +int find_cards(); + +/* Error Codes */ + +#define HDSPMM_ERROR_WRONG_IDX -1 +#define HDSPMM_ERROR_ALSA_OPEN -2 +#define HDSPMM_ERROR_ALSA_WRITE -3 +#define HDSPMM_ERROR_ALSA_READ -4 +#define HDSPMM_ERROR_NO_CARD -5 |