2011-02-24 21:33:26 +01:00
|
|
|
/*
|
|
|
|
|
* HDSPMixer
|
|
|
|
|
*
|
|
|
|
|
* Copyright (C) 2011 Adrian Knoth (adi@drcomp.erfurt.thur.de)
|
|
|
|
|
* Fredrik Lingvall (fredrik.lingvall@gmail.com)
|
|
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2011-01-27 11:41:47 +01:00
|
|
|
#ifndef channelmap_H
|
|
|
|
|
#define channelmap_H
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
#include <alsa/sound/hdsp.h>
|
|
|
|
|
#include <alsa/sound/hdspm.h>
|
|
|
|
|
|
2011-02-24 21:33:26 +01:00
|
|
|
/***
|
|
|
|
|
*
|
|
|
|
|
* hdsp cards
|
|
|
|
|
*
|
|
|
|
|
***/
|
|
|
|
|
|
|
|
|
|
// Digiface
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_df_ss[14];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char channel_map_df_ss[26];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
|
|
|
|
// Multiface
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_mf_ss[10];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char channel_map_mf_ss[26];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
|
|
|
|
// Digiface/Multiface
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char meter_map_ds[26];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char channel_map_ds[26];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_ds[8];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-07-28 23:45:46 +02:00
|
|
|
// RPM
|
|
|
|
|
|
|
|
|
|
extern char dest_map_rpm[3];
|
|
|
|
|
extern char channel_map_rpm[26];
|
|
|
|
|
|
2011-02-24 21:33:26 +01:00
|
|
|
// HDSP 9652
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_h9652_ss[13];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_h9652_ds[7];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
|
|
|
|
// HDSP 9632
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_h9632_ss[8];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_h9632_ds[6];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_h9632_qs[4];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char channel_map_h9632_ss[16];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char channel_map_h9632_ds[12];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char channel_map_h9632_qs[8];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/***
|
|
|
|
|
*
|
|
|
|
|
* hdspm cards
|
|
|
|
|
*
|
|
|
|
|
***/
|
|
|
|
|
|
|
|
|
|
// HDSPe MADI and MADIface
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_unity[32];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_unity_ss[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_unity_ds[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_unity_qs[HDSPM_MAX_CHANNELS];
|
2011-01-27 11:41:47 +01:00
|
|
|
|
2011-02-24 21:33:26 +01:00
|
|
|
// HDSPe RayDAT
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_raydat_ss[18];
|
|
|
|
|
|
|
|
|
|
extern char dest_map_raydat_ds[10];
|
|
|
|
|
|
|
|
|
|
extern char dest_map_raydat_qs[6];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_raydat_ss[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_raydat_ds[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_raydat_qs[HDSPM_MAX_CHANNELS];
|
2011-01-27 11:41:47 +01:00
|
|
|
|
2011-02-24 21:33:26 +01:00
|
|
|
// HDSPe AIO
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_aio_ss[8];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern char dest_map_aio_ds[6];
|
|
|
|
|
|
|
|
|
|
extern char dest_map_aio_qs[5];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aio_in_ss[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aio_out_ss[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aio_in_ds[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aio_out_ds[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aio_in_qs[HDSPM_MAX_CHANNELS];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aio_out_qs[HDSPM_MAX_CHANNELS];
|
2011-01-27 11:41:47 +01:00
|
|
|
|
2011-02-24 21:33:26 +01:00
|
|
|
// HDSP AES32 and HDSPe AES
|
|
|
|
|
|
2011-03-01 10:42:25 +01:00
|
|
|
extern char dest_map_aes32[8];
|
|
|
|
|
|
|
|
|
|
extern char channel_map_aes32[HDSPM_MAX_CHANNELS];
|
2011-02-24 21:33:26 +01:00
|
|
|
|
2011-01-27 11:41:47 +01:00
|
|
|
#endif /* channelmap_H */
|