Browse Source

Fix small compiler warning

tags/1.9.8
falkTX 6 years ago
parent
commit
a351a4fdd0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      source/native-plugins/audio-base.hpp

+ 3
- 2
source/native-plugins/audio-base.hpp View File

@@ -284,8 +284,9 @@ public:
carla_stderr("R: poll data - reading at %li:%02li", readFrame/44100/60, (readFrame/44100) % 60);

ad_seek(fFilePtr, readFrame);
ssize_t i, j, rv = ad_read(fFilePtr, tmpData, tmpSize);
i = j = 0;
size_t i = 0;
ssize_t j = 0;
ssize_t rv = ad_read(fFilePtr, tmpData, tmpSize);

// lock, and put data asap
const CarlaMutexLocker cml(fMutex);


Loading…
Cancel
Save