From efcdd889254fc98314dd48854d50e90aa21e53c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 26 Mar 2017 15:58:46 +0200 Subject: Initial cmake conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 8b12682035e2ae92a29a9ce12abc5fbcf38b1192) --- tdeioslave/audiocd/plugins/wav/encoderwav.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tdeioslave/audiocd/plugins/wav/encoderwav.cpp') diff --git a/tdeioslave/audiocd/plugins/wav/encoderwav.cpp b/tdeioslave/audiocd/plugins/wav/encoderwav.cpp index 84a8586b..7bed1765 100644 --- a/tdeioslave/audiocd/plugins/wav/encoderwav.cpp +++ b/tdeioslave/audiocd/plugins/wav/encoderwav.cpp @@ -50,17 +50,17 @@ const char * EncoderWav::mimeType() const { long EncoderWav::readInit(long byteCount){ static char riffHeader[] = { - 0x52, 0x49, 0x46, 0x46, // 0 "AIFF" - 0x00, 0x00, 0x00, 0x00, // 4 wavSize - 0x57, 0x41, 0x56, 0x45, // 8 "WAVE" - 0x66, 0x6d, 0x74, 0x20, // 12 "fmt " - 0x10, 0x00, 0x00, 0x00, // 16 - 0x01, 0x00, 0x02, 0x00, // 20 - 0x44, 0xac, 0x00, 0x00, // 24 - 0x10, 0xb1, 0x02, 0x00, // 28 - 0x04, 0x00, 0x10, 0x00, // 32 - 0x64, 0x61, 0x74, 0x61, // 36 "data" - 0x00, 0x00, 0x00, 0x00 // 40 byteCount + '\x52', '\x49', '\x46', '\x46', // 0 "AIFF" + '\x00', '\x00', '\x00', '\x00', // 4 wavSize + '\x57', '\x41', '\x56', '\x45', // 8 "WAVE" + '\x66', '\x6d', '\x74', '\x20', // 12 "fmt " + '\x10', '\x00', '\x00', '\x00', // 16 + '\x01', '\x00', '\x02', '\x00', // 20 + '\x44', '\xac', '\x00', '\x00', // 24 + '\x10', '\xb1', '\x02', '\x00', // 28 + '\x04', '\x00', '\x10', '\x00', // 32 + '\x64', '\x61', '\x74', '\x61', // 36 "data" + '\x00', '\x00', '\x00', '\x00' // 40 byteCount }; TQ_INT32 wavSize(byteCount + 44 - 8); -- cgit v1.2.1