3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
|
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
24 |
#ifndef __LS_AUDIOOUTPUTDEVICEJACK_H__ |
#ifndef __LS_AUDIOOUTPUTDEVICEJACK_H__ |
25 |
#define __LS_AUDIOOUTPUTDEVICEJACK_H__ |
#define __LS_AUDIOOUTPUTDEVICEJACK_H__ |
26 |
|
|
27 |
#include "../../common/global.h" |
#include "../../common/global_private.h" |
28 |
|
|
29 |
#if HAVE_JACK |
#if HAVE_JACK |
30 |
|
|
76 |
virtual void OnSetValue(std::vector<String> vS); |
virtual void OnSetValue(std::vector<String> vS); |
77 |
static String Name(); |
static String Name(); |
78 |
protected: |
protected: |
79 |
AudioChannelJack* pChannel; |
AudioChannelJack* pChannel; |
80 |
|
std::vector<String> Bindings; |
81 |
}; |
}; |
82 |
protected: |
protected: |
83 |
AudioChannelJack(uint ChannelNr, AudioOutputDeviceJack* pDevice) throw (AudioOutputException); |
AudioChannelJack(uint ChannelNr, AudioOutputDeviceJack* pDevice) throw (AudioOutputException); |
99 |
class ParameterName : public DeviceCreationParameterString { |
class ParameterName : public DeviceCreationParameterString { |
100 |
public: |
public: |
101 |
ParameterName(); |
ParameterName(); |
102 |
ParameterName(String s) throw (LinuxSamplerException); |
ParameterName(String s) throw (Exception); |
103 |
virtual String Description(); |
virtual String Description(); |
104 |
virtual bool Fix(); |
virtual bool Fix(); |
105 |
virtual bool Mandatory(); |
virtual bool Mandatory(); |
106 |
virtual std::map<String,DeviceCreationParameter*> DependsAsParameters(); |
virtual std::map<String,DeviceCreationParameter*> DependsAsParameters(); |
107 |
virtual std::vector<String> PossibilitiesAsString(std::map<String,String> Parameters); |
virtual std::vector<String> PossibilitiesAsString(std::map<String,String> Parameters); |
108 |
virtual optional<String> DefaultAsString(std::map<String,String> Parameters); |
virtual optional<String> DefaultAsString(std::map<String,String> Parameters); |
109 |
virtual void OnSetValue(String s) throw (LinuxSamplerException); |
virtual void OnSetValue(String s) throw (Exception); |
110 |
static String Name(); |
static String Name(); |
111 |
}; |
}; |
112 |
|
|