mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 00:43:18 +01:00
revert patch for 2388
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5922 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
095d2bd5b2
commit
5557c6fe5c
1 changed files with 3 additions and 3 deletions
|
|
@ -374,7 +374,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, nframes_t s
|
|||
}
|
||||
|
||||
if (zero_fill) {
|
||||
memset (peaks + npeaks - zero_fill, 0, sizeof (PeakData) * zero_fill);
|
||||
memset (&peaks[npeaks], 0, sizeof (PeakData) * zero_fill);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
@ -485,7 +485,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, nframes_t s
|
|||
}
|
||||
|
||||
if (zero_fill) {
|
||||
memset (peaks + npeaks - zero_fill, 0, sizeof (PeakData) * zero_fill);
|
||||
memset (&peaks[npeaks], 0, sizeof (PeakData) * zero_fill);
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
|
@ -562,7 +562,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, nframes_t s
|
|||
}
|
||||
|
||||
if (zero_fill) {
|
||||
memset (peaks + npeaks - zero_fill, 0, sizeof (PeakData) * zero_fill);
|
||||
memset (&peaks[npeaks], 0, sizeof (PeakData) * zero_fill);
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue