summaryrefslogtreecommitdiffstats
path: root/mixer.c
diff options
context:
space:
mode:
authorAmar Takhar <mplayer@darkbeer.org>2009-07-07 01:15:02 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 01:38:20 +0300
commite306174952d42e1cd6cc5efc50ae6bb0410501bc (patch)
treea7eb451f2c634f17d8e36a72b6305c1aff508904 /mixer.c
parentb5972d6f14c04384d88d3f813b435d484562403f (diff)
downloadmpv-e306174952d42e1cd6cc5efc50ae6bb0410501bc.tar.bz2
mpv-e306174952d42e1cd6cc5efc50ae6bb0410501bc.tar.xz
Translation system changes part 2: replace macros by strings
Replace all MSGTR_ macros in the source by the corresponding English string.
Diffstat (limited to 'mixer.c')
-rw-r--r--mixer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixer.c b/mixer.c
index 89a7c910f7..79f743aa85 100644
--- a/mixer.c
+++ b/mixer.c
@@ -64,11 +64,11 @@ void mixer_setvolume(mixer_t *mixer, float l, float r)
af_to_dB (AF_NCH, db_vals, db_vals, 20.0);
if (!af_control_any_rev(mixer->afilter,
AF_CONTROL_VOLUME_LEVEL | AF_CONTROL_SET, db_vals)) {
- mp_tmsg(MSGT_GLOBAL, MSGL_INFO, MSGTR_InsertingAfVolume);
+ mp_tmsg(MSGT_GLOBAL, MSGL_INFO, "[Mixer] No hardware mixing, inserting volume filter.\n");
if (af_add(mixer->afilter, "volume")) {
if (!af_control_any_rev(mixer->afilter,
AF_CONTROL_VOLUME_LEVEL | AF_CONTROL_SET, db_vals)) {
- mp_tmsg(MSGT_GLOBAL, MSGL_ERR, MSGTR_NoVolume);
+ mp_tmsg(MSGT_GLOBAL, MSGL_ERR, "[Mixer] No volume control available.\n");
return;
}
}
@@ -142,7 +142,7 @@ void mixer_setbalance(mixer_t *mixer, float val)
return;
if (!(af_pan_balance = af_add(mixer->afilter, "pan"))) {
- mp_tmsg(MSGT_GLOBAL, MSGL_ERR, MSGTR_NoBalance);
+ mp_tmsg(MSGT_GLOBAL, MSGL_ERR, "[Mixer] No balance control available.\n");
return;
}