/*
* Copyright (C) 2005-2007 by Pieter Palmers
* Copyright (C) 2005-2007 by Daniel Wagner
*
* This file is part of FFADO
* FFADO = Free Firewire (pro-)audio drivers for linux
*
* FFADO is based upon FreeBoB
*
* 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 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 for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
#ifndef AVCSIGNALFORMAT_H
#define AVCSIGNALFORMAT_H
#include "avc_generic.h"
#include
namespace AVC {
class OutputPlugSignalFormatCmd: public AVCCommand
{
public:
OutputPlugSignalFormatCmd(Ieee1394Service& ieee1394service);
virtual ~OutputPlugSignalFormatCmd();
virtual bool serialize( Util::IOSSerialize& se );
virtual bool deserialize( Util::IISDeserialize& de );
virtual const char* getCmdName() const
{ return "OutputPlugSignalFormatCmd"; }
byte_t m_plug;
byte_t m_eoh;
byte_t m_form;
byte_t m_fmt;
byte_t m_fdf[3];
};
class InputPlugSignalFormatCmd: public AVCCommand
{
public:
InputPlugSignalFormatCmd(Ieee1394Service& ieee1394service);
virtual ~InputPlugSignalFormatCmd();
virtual bool serialize( Util::IOSSerialize& se );
virtual bool deserialize( Util::IISDeserialize& de );
virtual const char* getCmdName() const
{ return "InputPlugSignalFormatCmd"; }
byte_t m_plug;
byte_t m_eoh;
byte_t m_form;
byte_t m_fmt;
byte_t m_fdf[3];
};
}
#endif // AVCSIGNALFORMAT_H