diff options
author | wm4 <wm4@nowhere> | 2013-11-07 22:12:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-07 22:12:36 +0100 |
commit | 91626b1c0606afb9bb582070e8a444a3ba8395ab (patch) | |
tree | ae7245c12aae01734bde1c68ab7f2cc26aeb5845 /audio/format.h | |
parent | aa48eeac9707f7e54468b55226af1188e7d72e30 (diff) | |
download | mpv-91626b1c0606afb9bb582070e8a444a3ba8395ab.tar.bz2 mpv-91626b1c0606afb9bb582070e8a444a3ba8395ab.tar.xz |
audio: replace af_fmt2str_short -> af_fmt_to_str
Also, remove all af_fmt2str usages.
Diffstat (limited to 'audio/format.h')
-rw-r--r-- | audio/format.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ |