use super::{robot_guitar::*, *};
#[derive(Default, Debug)]
pub struct RipProtocol;
impl EfwHardwareSpecification for RipProtocol {
const SUPPORTED_SAMPLING_RATES: &'static [u32] = &[44100, 48000, 88200, 96000, 176400, 192000];
const SUPPORTED_SAMPLING_CLOCKS: &'static [ClkSrc] =
&[ClkSrc::Internal, ClkSrc::WordClock, ClkSrc::Spdif];
const CAPABILITIES: &'static [HwCap] = &[
HwCap::ChangeableRespAddr,
HwCap::Fpga,
HwCap::RobotGuitar,
HwCap::GuitarCharging,
];
const TX_CHANNEL_COUNTS: [usize; 3] = [8, 8, 8];
const RX_CHANNEL_COUNTS: [usize; 3] = [2, 2, 2];
const MONITOR_SOURCE_COUNT: usize = 8;
const MONITOR_DESTINATION_COUNT: usize = 2;
const MIDI_INPUT_COUNT: usize = 0;
const MIDI_OUTPUT_COUNT: usize = 0;
const PHYS_INPUT_GROUPS: &'static [(PhysGroupType, usize)] = &[
(PhysGroupType::Guitar, 1),
(PhysGroupType::PiezoGuitar, 1),
(PhysGroupType::GuitarString, 6),
];
const PHYS_OUTPUT_GROUPS: &'static [(PhysGroupType, usize)] = &[(PhysGroupType::Analog, 2)];
}
impl EfwPlaybackSoloSpecification for RipProtocol {}
impl EfwRobotGuitarSpecification for RipProtocol {}