Silence a warning.
parent
d0f0f516a3
commit
06f4fb70d4
|
@ -176,7 +176,7 @@
|
||||||
- (int)readAudio:(void *)buf frames:(UInt32)frames
|
- (int)readAudio:(void *)buf frames:(UInt32)frames
|
||||||
{
|
{
|
||||||
if (framePosition + frames > trackEnd) {
|
if (framePosition + frames > trackEnd) {
|
||||||
frames = trackEnd - framePosition;
|
frames = (UInt32)(trackEnd - framePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!frames)
|
if (!frames)
|
||||||
|
|
Loading…
Reference in New Issue