AlsaBridge.h
author František Kučera <franta-hg@frantovo.cz>
Fri, 18 Dec 2020 23:58:03 +0100
branchv_0
changeset 4 4d777d6c8024
parent 3 e238528eb19c
child 5 ef8f4023e32e
permissions -rw-r--r--
address sanitizer
franta-hg@2
     1
/**
franta-hg@2
     2
 * DJM-Fix
franta-hg@2
     3
 * Copyright © 2020 František Kučera (Frantovo.cz, GlobalCode.info)
franta-hg@2
     4
 *
franta-hg@2
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@2
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@2
     7
 * the Free Software Foundation, version 3 of the License.
franta-hg@2
     8
 *
franta-hg@2
     9
 * This program is distributed in the hope that it will be useful,
franta-hg@2
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@2
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@2
    12
 * GNU General Public License for more details.
franta-hg@2
    13
 *
franta-hg@2
    14
 * You should have received a copy of the GNU General Public License
franta-hg@2
    15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@2
    16
 */
franta-hg@2
    17
#pragma once
franta-hg@2
    18
franta-hg@2
    19
#include "DJMFix.h"
franta-hg@2
    20
franta-hg@2
    21
namespace djmfix {
franta-hg@2
    22
namespace alsa {
franta-hg@2
    23
franta-hg@2
    24
class AlsaBridge {
franta-hg@2
    25
public:
franta-hg@2
    26
	virtual ~AlsaBridge() = default;
franta-hg@2
    27
	virtual void start() = 0;
franta-hg@2
    28
	virtual void stop() = 0;
franta-hg@2
    29
franta-hg@2
    30
};
franta-hg@2
    31
franta-hg@2
    32
AlsaBridge* create(djmfix::DJMFix* djmFix);
franta-hg@2
    33
franta-hg@2
    34
}
franta-hg@3
    35
}