summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_hrtf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-15 21:25:05 +0100
committerwm4 <wm4@nowhere>2013-11-15 21:25:05 +0100
commit514c4547702a01adb6f9e6274c40a77c7c511339 (patch)
treec307d2d60094521cee703cbe9510f0ff9037e96b /audio/filter/af_hrtf.c
parent2289a479b174efa062fab84a66075b49f27c804d (diff)
downloadmpv-514c4547702a01adb6f9e6274c40a77c7c511339.tar.bz2
mpv-514c4547702a01adb6f9e6274c40a77c7c511339.tar.xz
audio: drop "_NE"/"ne" suffix from audio formats
You get the native format by not appending any suffix to the format. This change includes user-facing names, e.g. for the --format option.
Diffstat (limited to 'audio/filter/af_hrtf.c')
-rw-r--r--audio/filter/af_hrtf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_hrtf.c b/audio/filter/af_hrtf.c
index ed51351750..bfb619b040 100644
--- a/audio/filter/af_hrtf.c
+++ b/audio/filter/af_hrtf.c
@@ -311,7 +311,7 @@ static int control(struct af_instance *af, int cmd, void* arg)
}
else if (af->data->nch < 5)
mp_audio_set_channels_old(af->data, 5);
- mp_audio_set_format(af->data, AF_FORMAT_S16_NE);
+ mp_audio_set_format(af->data, AF_FORMAT_S16);
test_output_res = af_test_output(af, (struct mp_audio*)arg);
// after testing input set the real output format
mp_audio_set_num_channels(af->data, 2);