Commit c7b0c46d authored by Max Kellermann's avatar Max Kellermann

output/recorder: fix typo in variable name

Fixes the dreaded error "Failed to create : No such file or directory". https://bugs.musicpd.org/view.php?id=4625
parent df578c91
......@@ -7,6 +7,7 @@ ver 0.20.2 (not yet released)
- alsa: fix the DSD_U32 sample rate
- alsa: fix the DSD_U32 byte order
- alsa: support DSD_U16
- recorder: fix error "Failed to create : No such file or directory"
ver 0.20.1 (2017/01/09)
* input
......
......@@ -274,7 +274,7 @@ RecorderOutput::ReopenFormat(AllocatedPath &&new_path)
assert(path.IsNull());
assert(file == nullptr);
FileOutputStream *new_file = new FileOutputStream(path);
FileOutputStream *new_file = new FileOutputStream(new_path);
AudioFormat new_audio_format = effective_audio_format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment