From eef36f03ea76f97c10075ae4b08e1e53e5195479 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 21:49:13 +0100 Subject: msg: rename mp_msg_log -> mp_msg Same for companion functions. --- audio/out/ao.c | 2 +- audio/out/ao_coreaudio.c | 2 +- audio/out/ao_coreaudio_utils.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'audio') diff --git a/audio/out/ao.c b/audio/out/ao.c index 7aea6239d2..4530b1c3b7 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -130,7 +130,7 @@ static struct ao *ao_create(bool probing, struct mpv_global *global, struct mp_log *log = mp_log_new(NULL, global->log, "ao"); struct m_obj_desc desc; if (!m_obj_list_find(&desc, &ao_obj_list, bstr0(name))) { - mp_msg_log(log, MSGL_ERR, "Audio output %s not found!\n", name); + mp_msg(log, MSGL_ERR, "Audio output %s not found!\n", name); talloc_free(log); return NULL; }; diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c index 4a4091daf9..ba95fa728d 100644 --- a/audio/out/ao_coreaudio.c +++ b/audio/out/ao_coreaudio.c @@ -271,7 +271,7 @@ static int init(struct ao *ao) selected_device = p->opt_device_id; } - if (mp_msg_test_log(ao->log, MSGL_V)) { + if (mp_msg_test(ao->log, MSGL_V)) { char *name; err = CA_GET_STR(selected_device, kAudioObjectPropertyName, &name); CHECK_CA_ERROR("could not get selected audio device name"); diff --git a/audio/out/ao_coreaudio_utils.c b/audio/out/ao_coreaudio_utils.c index 9fa54c726c..97125c7f21 100644 --- a/audio/out/ao_coreaudio_utils.c +++ b/audio/out/ao_coreaudio_utils.c @@ -57,7 +57,7 @@ bool check_ca_st(struct ao *ao, int level, OSStatus code, const char *message) if (code == noErr) return true; char *error_string = fourcc_repr(NULL, code); - mp_msg_log(ao->log, level, "%s (%s)\n", message, error_string); + mp_msg(ao->log, level, "%s (%s)\n", message, error_string); talloc_free(error_string); return false; -- cgit v1.2.3