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, 2006 Christian Schoenebeck * |
* 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 * |
92 |
inline void Clear() { memset(pBuffer, 0, uiBufferSize * sizeof(float)); } ///< Reset audio buffer with silence |
inline void Clear() { memset(pBuffer, 0, uiBufferSize * sizeof(float)); } ///< Reset audio buffer with silence |
93 |
void CopyTo(AudioChannel* pDst, const uint Samples); |
void CopyTo(AudioChannel* pDst, const uint Samples); |
94 |
void CopyTo(AudioChannel* pDst, const uint Samples, const float fLevel); |
void CopyTo(AudioChannel* pDst, const uint Samples, const float fLevel); |
95 |
|
void MixTo(AudioChannel* pDst, const uint Samples); |
96 |
|
void MixTo(AudioChannel* pDst, const uint Samples, const float fLevel); |
97 |
std::map<String,DeviceRuntimeParameter*> ChannelParameters(); |
std::map<String,DeviceRuntimeParameter*> ChannelParameters(); |
98 |
|
|
99 |
// constructors / destructor |
// constructors / destructor |