diff options
author | wm4 <wm4@nowhere> | 2013-12-21 21:49:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 22:13:04 +0100 |
commit | eef36f03ea76f97c10075ae4b08e1e53e5195479 (patch) | |
tree | 9bafeac9944e717a2defe9e6f8fc753d3cdb9964 /audio | |
parent | eba5d025d2ba682de358b792dd15e80529d6a0f1 (diff) | |
download | mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.bz2 mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.xz |
msg: rename mp_msg_log -> mp_msg
Same for companion functions.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao.c | 2 | ||||
-rw-r--r-- | audio/out/ao_coreaudio.c | 2 | ||||
-rw-r--r-- | audio/out/ao_coreaudio_utils.c | 2 |
3 files changed, 3 insertions, 3 deletions
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; |