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/out/ao_dsound.c | |
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/out/ao_dsound.c')
-rw-r--r-- | audio/out/ao_dsound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/ao_dsound.c b/audio/out/ao_dsound.c index 034f5d8446..464947c0dc 100644 --- a/audio/out/ao_dsound.c +++ b/audio/out/ao_dsound.c @@ -407,7 +407,7 @@ static int init(struct ao *ao) break; default: MP_VERBOSE(ao, "format %s not supported defaulting to Signed 16-bit Little-Endian\n", - af_fmt2str_short(format)); + af_fmt_to_str(format)); format = AF_FORMAT_S16_LE; } //set our audio parameters @@ -416,7 +416,7 @@ static int init(struct ao *ao) ao->bps = ao->channels.num * rate * (af_fmt2bits(format) >> 3); int buffersize = ao->bps; // space for 1 sec MP_VERBOSE(ao, "Samplerate:%iHz Channels:%i Format:%s\n", rate, - ao->channels.num, af_fmt2str_short(format)); + ao->channels.num, af_fmt_to_str(format)); MP_VERBOSE(ao, "Buffersize:%d bytes (%d msec)\n", buffersize, buffersize / ao->bps * 1000); |