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 * |
* Copyright (C) 2005 - 2013 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 * |
89 |
ParameterSampleRate(String s); |
ParameterSampleRate(String s); |
90 |
virtual std::map<String,DeviceCreationParameter*> DependsAsParameters(); |
virtual std::map<String,DeviceCreationParameter*> DependsAsParameters(); |
91 |
virtual optional<int> DefaultAsInt(std::map<String,String> Parameters); |
virtual optional<int> DefaultAsInt(std::map<String,String> Parameters); |
92 |
virtual std::vector<int> PossibilitiesAsInt(std::map<String,String> Parameters); |
virtual std::vector<int> PossibilitiesAsInt(std::map<String,String> Parameters); |
93 |
}; |
}; |
94 |
|
|
95 |
/** Device Parameters 'CHANNELS' |
/** Device Parameters 'CHANNELS' |
129 |
|
|
130 |
}; |
}; |
131 |
|
|
132 |
// make protected method public |
// make protected methods public |
133 |
AudioOutputDevice::RenderAudio; |
using AudioOutputDevice::RenderAudio; |
134 |
AudioOutputDevice::Channels; |
using AudioOutputDevice::Channels; |
135 |
|
|
136 |
|
|
137 |
protected: |
protected: |
141 |
uint uiAsioChannels; |
uint uiAsioChannels; |
142 |
uint uiSamplerate; |
uint uiSamplerate; |
143 |
uint FragmentSize; |
uint FragmentSize; |
144 |
bool asioIsPlaying; |
bool asioIsPlaying; |
145 |
|
|
146 |
static void bufferSwitch(long index, ASIOBool processNow); |
static void bufferSwitch(long index, ASIOBool processNow); |
147 |
static ASIOTime* bufferSwitchTimeInfo(ASIOTime *timeInfo, long index, ASIOBool processNow); |
static ASIOTime* bufferSwitchTimeInfo(ASIOTime *timeInfo, long index, ASIOBool processNow); |