mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
Fix loading of pan values (fixes #168)
This commit is contained in:
parent
3b89ee90ef
commit
07ced711ba
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ int DiskReader::readTracks()
|
||||||
if( !pan ) {
|
if( !pan ) {
|
||||||
LUPPP_WARN("Track %i has no pan data saved.", t);
|
LUPPP_WARN("Track %i has no pan data saved.", t);
|
||||||
} else {
|
} else {
|
||||||
EventTrackPan e( t, pan->valuedouble );
|
EventTrackPan e( t, (pan->valuedouble*2)-1.f );
|
||||||
writeToDspRingbuffer( &e );
|
writeToDspRingbuffer( &e );
|
||||||
LUPPP_WARN("Track %i has pan %f", pan->valuedouble);
|
LUPPP_WARN("Track %i has pan %f", pan->valuedouble);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue