mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 13:14:58 +00:00
Compare commits
2 Commits
2ec749e6c7
...
df7136d265
| Author | SHA1 | Date | |
|---|---|---|---|
| df7136d265 | |||
| 454424b8b3 |
@@ -718,7 +718,7 @@ void AudioGroupSampleDirectory::_extractCompressed(SampleId id, const EntryData&
|
||||
#endif
|
||||
|
||||
uint32_t numSamples = ent.getNumSamples();
|
||||
atUint64 dataLen;
|
||||
atUint64 dataLen = 0;
|
||||
if (fmt == SampleFormat::DSP || fmt == SampleFormat::DSP_DRUM) {
|
||||
DSPADPCMHeader header;
|
||||
header.x0_num_samples = numSamples;
|
||||
|
||||
@@ -186,7 +186,7 @@ static T ApplyVolume(float vol, T samp) {
|
||||
}
|
||||
|
||||
void Voice::_procSamplePre(int16_t& samp) {
|
||||
double dt;
|
||||
double dt = 0.0;
|
||||
|
||||
/* Block linearized will use a larger `dt` for amplitude sampling;
|
||||
* significantly reducing the processing expense */
|
||||
|
||||
Reference in New Issue
Block a user