3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003 - 2009 Christian Schoenebeck * |
* Copyright (C) 2003 - 2009 Christian Schoenebeck * |
6 |
* Copyright (C) 2009 Grigor Iliev * |
* Copyright (C) 2009 - 2011 Grigor Iliev * |
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 * |
43 |
virtual int GetChannelCount() { return ChannelCount; } |
virtual int GetChannelCount() { return ChannelCount; } |
44 |
virtual long GetTotalFrameCount() { return TotalFrameCount; } |
virtual long GetTotalFrameCount() { return TotalFrameCount; } |
45 |
virtual int GetFrameSize() { return FrameSize; } |
virtual int GetFrameSize() { return FrameSize; } |
46 |
|
virtual int GetLoops() { return Loops; } |
47 |
|
virtual uint GetLoopStart() { return LoopStart; } |
48 |
|
virtual uint GetLoopEnd() { return LoopEnd; } |
49 |
|
|
50 |
virtual buffer_t LoadSampleData(); |
virtual buffer_t LoadSampleData(); |
51 |
virtual buffer_t LoadSampleData(unsigned long FrameCount); |
virtual buffer_t LoadSampleData(unsigned long FrameCount); |
74 |
int Format; |
int Format; |
75 |
int FrameSize; ///< In bytes |
int FrameSize; ///< In bytes |
76 |
long TotalFrameCount; |
long TotalFrameCount; |
77 |
|
int Loops; |
78 |
|
uint LoopStart; |
79 |
|
uint LoopEnd; |
80 |
|
|
81 |
SNDFILE* pSndFile; |
SNDFILE* pSndFile; |
82 |
|
|