31 |
|
|
32 |
namespace LinuxSampler { namespace sfz { |
namespace LinuxSampler { namespace sfz { |
33 |
|
|
34 |
typedef LinuxSampler::VoiceBase<EngineChannel, ::sfz::Region, Sample, DiskThread> SfzVoice; |
typedef LinuxSampler::VoiceBase<EngineChannel, ::sfz::Region, Sample, DiskThread> SfzVoiceBase; |
35 |
Voice::Voice(): SignalRack(this), SfzVoice(&SignalRack) { |
|
36 |
|
Voice::Voice(): SfzVoiceBase(&SignalRack), SignalRack(this) { |
37 |
pEngine = NULL; |
pEngine = NULL; |
38 |
bEqSupport = true; |
bEqSupport = true; |
39 |
} |
} |
59 |
si.ChannelCount = pSample->GetChannelCount(); |
si.ChannelCount = pSample->GetChannelCount(); |
60 |
si.FrameSize = pSample->GetFrameSize(); |
si.FrameSize = pSample->GetFrameSize(); |
61 |
si.BitDepth = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8; |
si.BitDepth = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8; |
62 |
si.TotalFrameCount = pSample->GetTotalFrameCount(); |
si.TotalFrameCount = (uint)pSample->GetTotalFrameCount(); |
63 |
|
|
64 |
si.HasLoops = pRegion->HasLoop(); |
si.HasLoops = pRegion->HasLoop(); |
65 |
si.LoopStart = pRegion->GetLoopStart(); |
si.LoopStart = pRegion->GetLoopStart(); |