From 91626b1c0606afb9bb582070e8a444a3ba8395ab Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 Nov 2013 22:12:36 +0100 Subject: audio: replace af_fmt2str_short -> af_fmt_to_str Also, remove all af_fmt2str usages. --- audio/format.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'audio/format.h') diff --git a/audio/format.h b/audio/format.h index 9a898fe55c..6ec435b6b7 100644 --- a/audio/format.h +++ b/audio/format.h @@ -130,15 +130,14 @@ struct af_fmt_entry { extern const struct af_fmt_entry af_fmtstr_table[]; int af_str2fmt_short(bstr str); +const char *af_fmt_to_str(int format); + int af_fmt2bits(int format); int af_fmt_change_bits(int format, int bits); // Amount of bytes that contain audio of the given duration, aligned to frames. int af_fmt_seconds_to_bytes(int format, float seconds, int channels, int samplerate); -char *af_fmt2str(int format, char* str, int size); -const char *af_fmt2str_short(int format); - bool af_fmt_is_valid(int format); #endif /* MPLAYER_AF_FORMAT_H */ -- cgit v1.2.3