mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
Use GStatBuf in AudioSource::initialize_peakfile for portability
This was initially part of f89a976f that got reverted
This commit is contained in:
parent
0d356174ae
commit
e88f74cbb0
1 changed files with 2 additions and 2 deletions
|
|
@ -270,8 +270,8 @@ AudioSource::initialize_peakfile (string audio_path)
|
|||
_peaks_built = false;
|
||||
} else {
|
||||
// Check if the audio file has changed since the peakfile was built.
|
||||
struct stat stat_file;
|
||||
int err = stat (audio_path.c_str(), &stat_file);
|
||||
GStatBuf stat_file;
|
||||
int err = g_stat (audio_path.c_str(), &stat_file);
|
||||
|
||||
if (err) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue