Fix FreeSurround being broken by the speed control
It should be deriving its channel count from the file format, since it's applied before any other filters. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
db5b4e68c2
commit
de43b1b226
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
|||
|
||||
soxr_error_t error;
|
||||
soxr_quality_spec_t q_spec = soxr_quality_spec(SOXR_HQ, SOXR_VR);
|
||||
rssimplespeed = soxr_create(1 << OCTAVES, 1, channels, &error, NULL, &q_spec, NULL);
|
||||
rssimplespeed = soxr_create(1 << OCTAVES, 1, realStreamFormat.mChannelsPerFrame, &error, NULL, &q_spec, NULL);
|
||||
soxr_set_io_ratio(rssimplespeed, speed, 0);
|
||||
|
||||
ssRenderedIn = 0.0;
|
||||
|
|
Loading…
Reference in a new issue