We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58840ff commit 1dc7b7eCopy full SHA for 1dc7b7e
src/AudioTools/CoreAudio/AudioTypes.h
@@ -371,7 +371,7 @@ class NumberConverter {
371
/// Convert an int number from one type to another
372
template <typename FromT, typename ToT>
373
static ToT convert(FromT value){
374
- int64_t value1 = value;
+ float value1 = value;
375
return clipT<ToT>(value1 * maxValueT<ToT>() / maxValueT<FromT>());
376
}
377
0 commit comments