mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
change pa_log() and friends to not require a trailing \n on all logged strings
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
cb59817b4a
commit
4a64b0d116
74 changed files with 558 additions and 532 deletions
|
|
@ -131,7 +131,7 @@ int pa_play_file(pa_sink *sink, const char *fname, const pa_cvolume *volume) {
|
|||
memset(&sfinfo, 0, sizeof(sfinfo));
|
||||
|
||||
if (!(u->sndfile = sf_open(fname, SFM_READ, &sfinfo))) {
|
||||
pa_log(__FILE__": Failed to open file %s\n", fname);
|
||||
pa_log(__FILE__": Failed to open file %s", fname);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ int pa_play_file(pa_sink *sink, const char *fname, const pa_cvolume *volume) {
|
|||
ss.channels = sfinfo.channels;
|
||||
|
||||
if (!pa_sample_spec_valid(&ss)) {
|
||||
pa_log(__FILE__": Unsupported sample format in file %s\n", fname);
|
||||
pa_log(__FILE__": Unsupported sample format in file %s", fname);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue