diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-21 11:50:28 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-21 11:50:28 +0100 |
commit | 3a5da13910ec0eccf439d8b3a9f6728d127dc1b8 (patch) | |
tree | 3442b428d7eb8bb21f057eb08b945a91950d25f4 /src/wavfile.h | |
parent | 60140af509d33cd2179c56388b16746e9d67071a (diff) | |
download | ODR-AudioEnc-3a5da13910ec0eccf439d8b3a9f6728d127dc1b8.tar.gz ODR-AudioEnc-3a5da13910ec0eccf439d8b3a9f6728d127dc1b8.tar.bz2 ODR-AudioEnc-3a5da13910ec0eccf439d8b3a9f6728d127dc1b8.zip |
Correct wav header write
Diffstat (limited to 'src/wavfile.h')
-rw-r--r-- | src/wavfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wavfile.h b/src/wavfile.h index a8cd4d9..6d68053 100644 --- a/src/wavfile.h +++ b/src/wavfile.h @@ -1,6 +1,6 @@ /* ------------------------------------------------------------------ * Copyright (C) 2009 Martin Storsjo - * Copyright (C) 2017 Matthias P. Braendli + * Copyright (C) 2018 Matthias P. Braendli * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ class WavWriter { WavWriter(const WavWriter& other) = delete; WavWriter& operator=(const WavWriter& other) = delete; - void initialise_header(int rate); + void initialise_header(int rate, int channels); void write_data(const uint8_t *data, int length); |