///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2015-2018 Edouard Griffiths, F4EXB                              //
//                                                                               //
// 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 as version 3 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 V3 for more details.                               //
//                                                                               //
// You should have received a copy of the GNU General Public License             //
// along with this program. If not, see .          //
///////////////////////////////////////////////////////////////////////////////////
#ifndef FCDLIB_FCDTRAITS_H_
#define FCDLIB_FCDTRAITS_H_
#include 
typedef enum
{
    Pro,
    ProPlus
} fcd_type;
template 
struct fcd_traits
{
	static const uint16_t vendorId = 0x0;
	static const uint16_t productId = 0x0;
	static const int sampleRate = 48000;
	static const int convBufSize = (1<<11);
	static const char *alsaDeviceName;
	static const char *qtDeviceName;
    static const char *hardwareID;
    static const char *interfaceIID;
    static const char *displayedName;
    static const char *pluginDisplayedName;
    static const char *pluginVersion;
    static const int64_t loLowLimitFreq;
    static const int64_t loHighLimitFreq;
};
template<>
struct fcd_traits
{
	static const uint16_t vendorId = 0x04D8;
	static const uint16_t productId = 0xFB56;
	static const int sampleRate = 96000;
	static const int convBufSize = (1<<11);
	static const char *alsaDeviceName;
    static const char *qtDeviceName;
    static const char *hardwareID;
    static const char *interfaceIID;
    static const char *displayedName;
    static const char *pluginDisplayedName;
    static const char *pluginVersion;
    static const int64_t loLowLimitFreq;
    static const int64_t loHighLimitFreq;
};
template<>
struct fcd_traits
{
	static const uint16_t vendorId = 0x04D8;
	static const uint16_t productId = 0xFB31;
	static const int sampleRate = 192000;
	static const int convBufSize = (1<<10);
	static const char *alsaDeviceName;
    static const char *qtDeviceName;
    static const char *hardwareID;
    static const char *interfaceIID;
    static const char *displayedName;
    static const char *pluginDisplayedName;
    static const char *pluginVersion;
    static const int64_t loLowLimitFreq;
    static const int64_t loHighLimitFreq;
};
template  const char *fcd_traits::alsaDeviceName = "";
template  const char *fcd_traits::hardwareID = "";
template  const char *fcd_traits::interfaceIID = "";
template  const char *fcd_traits::displayedName = "";
template  const char *fcd_traits::pluginDisplayedName = "";
template  const char *fcd_traits::pluginVersion = "---";
#endif /* FCDLIB_FCDTRAITS_H_ */