Scoping out SoundSubsystem service
This commit is contained in:
28
include/ReMixer/SoundSubsystem.h
Normal file
28
include/ReMixer/SoundSubsystem.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/// An abstract class that defines the SoundSubsystem which will be used by the higher-level ReMixer API.
|
||||
class SoundSubsystem
|
||||
{
|
||||
public:
|
||||
|
||||
protected:
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
/// A PulseAudio implementation of the SoundSubsystem.
|
||||
class PulseAudioSubsystem : public SoundSubsystem
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
private:
|
||||
};
|
||||
|
||||
/// A Windows Sound API implementation of the SoundSubsystem.
|
||||
class WASAPISubsystem : public SoundSubsystem
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
private:
|
||||
};
|
@@ -18,31 +18,7 @@
|
||||
// https://habr.com/en/articles/663352/#linux-and-pulseaudio
|
||||
|
||||
|
||||
/// An abstract class that defines the SoundSubsystem which will be used by the higher-level ReMixer API.
|
||||
class SoundSubsystem
|
||||
{
|
||||
public:
|
||||
|
||||
protected:
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
/// A PulseAudio implementation of the SoundSubsystem.
|
||||
class PulseAudioSubsystem : public SoundSubsystem
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
private:
|
||||
};
|
||||
|
||||
/// A Windows Sound API implementation of the SoundSubsystem.
|
||||
class WASAPISubsystem : public SoundSubsystem
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
private:
|
||||
};
|
||||
|
||||
/// The pa_system structure holds all the PulseAudio structures together
|
||||
struct pa_system
|
||||
|
1
src/shared/SoundSubsystem.cpp
Normal file
1
src/shared/SoundSubsystem.cpp
Normal file
@@ -0,0 +1 @@
|
||||
#include <ReMixer/SoundSubsystem.h>
|
Reference in New Issue
Block a user