summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba2a3de)
raw | patch | inline | side by side (parent: ba2a3de)
author | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 12:43:09 +0000 (13:43 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 12:43:09 +0000 (13:43 +0100) |
src/screen_song.c | patch | blob | history |
diff --git a/src/screen_song.c b/src/screen_song.c
index 1463ec6cd59a8289256c42ff558adc18968c8fd0..555490ea7a7d99545a9e0d6f8c60072ae5eedc05 100644 (file)
--- a/src/screen_song.c
+++ b/src/screen_song.c
{
#if LIBMPDCLIENT_CHECK_VERSION(2,10,0)
if (format->bits == MPD_SAMPLE_FORMAT_FLOAT) {
- g_snprintf(buffer, size, _("%u:f:%u"),
+ g_snprintf(buffer, size, "%u:f:%u",
format->sample_rate,
format->channels);
return;
format->sample_rate % 44100 == 0) {
/* use shortcuts such as "dsd64" which implies the
sample rate */
- g_snprintf(buffer, size, _("dsd%u:%u"),
+ g_snprintf(buffer, size, "dsd%u:%u",
format->sample_rate * 8 / 44100,
format->channels);
return;
}
- g_snprintf(buffer, size, _("%u:dsd:%u"),
+ g_snprintf(buffer, size, "%u:dsd:%u",
format->sample_rate,
format->channels);
return;
}
#endif
- g_snprintf(buffer, size, _("%u:%u:%u"),
+ g_snprintf(buffer, size, "%u:%u:%u",
format->sample_rate, format->bits,
format->channels);
}