franta-hg@2: /**
franta-hg@2: * DJM-Fix
franta-hg@2: * Copyright © 2020 František Kučera (Frantovo.cz, GlobalCode.info)
franta-hg@2: *
franta-hg@2: * This program is free software: you can redistribute it and/or modify
franta-hg@2: * it under the terms of the GNU General Public License as published by
franta-hg@2: * the Free Software Foundation, version 3 of the License.
franta-hg@2: *
franta-hg@2: * This program is distributed in the hope that it will be useful,
franta-hg@2: * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@2: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@2: * GNU General Public License for more details.
franta-hg@2: *
franta-hg@2: * You should have received a copy of the GNU General Public License
franta-hg@2: * along with this program. If not, see .
franta-hg@2: */
franta-hg@2: #pragma once
franta-hg@2:
franta-hg@5: #include
franta-hg@5:
franta-hg@2: #include "DJMFix.h"
franta-hg@2:
franta-hg@2: namespace djmfix {
franta-hg@2: namespace alsa {
franta-hg@2:
franta-hg@2: class AlsaBridge {
franta-hg@2: public:
franta-hg@2: virtual ~AlsaBridge() = default;
franta-hg@2: virtual void start() = 0;
franta-hg@2: virtual void stop() = 0;
franta-hg@2:
franta-hg@2: };
franta-hg@2:
franta-hg@5: AlsaBridge* create(djmfix::DJMFix* djmFix, const std::string& deviceName);
franta-hg@2:
franta-hg@2: }
franta-hg@3: }