projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent popup deactivation while button_down
[goodguy/history.git]
/
cinelerra-5.0
/
cinelerra
/
filesndfile.C
diff --git
a/cinelerra-5.0/cinelerra/filesndfile.C
b/cinelerra-5.0/cinelerra/filesndfile.C
index 0f67fda60aee70c141fcd2c95ca4ce9527d97bca..f9b1c3d792aeef0f5fd51a9b55447bfd421de8d2 100644
(file)
--- a/
cinelerra-5.0/cinelerra/filesndfile.C
+++ b/
cinelerra-5.0/cinelerra/filesndfile.C
@@
-266,7
+266,7
@@
int FileSndFile::set_audio_position(int64_t sample)
// Commented out /* && psf->dataoffset */ in sndfile.c: 761
if(sf_seek(fd, sample, SEEK_SET) < 0)
{
// Commented out /* && psf->dataoffset */ in sndfile.c: 761
if(sf_seek(fd, sample, SEEK_SET) < 0)
{
- eprintf(
"sf_seek() to sample %jd failed, reason: %s\n"
, sample, sf_strerror(fd));
+ eprintf(
_("sf_seek() to sample %jd failed, reason: %s\n")
, sample, sf_strerror(fd));
sf_perror(fd);
return 1;
}
sf_perror(fd);
return 1;
}
@@
-283,7
+283,7
@@
int FileSndFile::read_samples(double *buffer, int64_t len)
eprintf("FileSndFile::read_samples len=" _LD "\n", len);
if(!buffer)
eprintf("FileSndFile::read_samples len=" _LD "\n", len);
if(!buffer)
- eprintf(
"buffer=%p\n"
, buffer);
+ eprintf(
_("buffer=%p\n")
, buffer);
if(temp_allocated && temp_allocated < len)
{
if(temp_allocated && temp_allocated < len)
{
@@
-301,8
+301,8
@@
int FileSndFile::read_samples(double *buffer, int64_t len)
result = !sf_read_double(fd, temp_double, len * asset->channels);
if(result)
result = !sf_read_double(fd, temp_double, len * asset->channels);
if(result)
- eprintf("FileSndFile::read_samples fd=%p temp_double=%p"
- " len=" _LD " asset=%p asset->channels=%d\n",
+ eprintf(
_(
"FileSndFile::read_samples fd=%p temp_double=%p"
+ " len=" _LD " asset=%p asset->channels=%d\n"
)
,
fd, temp_double, len, asset, asset->channels);
// Extract single channel
fd, temp_double, len, asset, asset->channels);
// Extract single channel
@@
-372,7
+372,7
@@
void FileSndFile::get_parameters(BC_WindowBase *parent_window,
}
SndFileConfig::SndFileConfig(BC_WindowBase *parent_window, Asset *asset)
}
SndFileConfig::SndFileConfig(BC_WindowBase *parent_window, Asset *asset)
- : BC_Window(
PROGRAM_NAME ": Audio Compression"
,
+ : BC_Window(
_(PROGRAM_NAME ": Audio Compression")
,
parent_window->get_abs_cursor_x(1),
parent_window->get_abs_cursor_y(1),
250,
parent_window->get_abs_cursor_x(1),
parent_window->get_abs_cursor_y(1),
250,