mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Fixed a typo in the ASIO code in the last check-in.
This commit is contained in:
parent
18ffeba9da
commit
494f28601c
2 changed files with 4 additions and 4 deletions
|
|
@ -246811,7 +246811,7 @@ private:
|
|||
{
|
||||
while (--numSamples >= 0)
|
||||
{
|
||||
*(uint32*) dest = ByteOrder::swap ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
*(uint32*) dest = ByteOrder::swapIfBigEndian ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
dest += dstStrideBytes;
|
||||
}
|
||||
}
|
||||
|
|
@ -246819,7 +246819,7 @@ private:
|
|||
{
|
||||
while (--numSamples >= 0)
|
||||
{
|
||||
*(uint32*) dest = ByteOrder::swap ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
*(uint32*) dest = ByteOrder::swapIfLittleEndian ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
dest += dstStrideBytes;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1596,7 +1596,7 @@ private:
|
|||
{
|
||||
while (--numSamples >= 0)
|
||||
{
|
||||
*(uint32*) dest = ByteOrder::swap ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
*(uint32*) dest = ByteOrder::swapIfBigEndian ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
dest += dstStrideBytes;
|
||||
}
|
||||
}
|
||||
|
|
@ -1604,7 +1604,7 @@ private:
|
|||
{
|
||||
while (--numSamples >= 0)
|
||||
{
|
||||
*(uint32*) dest = ByteOrder::swap ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
*(uint32*) dest = ByteOrder::swapIfLittleEndian ((uint32) roundDoubleToInt (jlimit (-maxVal, maxVal, maxVal * *src++)));
|
||||
dest += dstStrideBytes;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue