diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-21 15:45:38 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-21 15:45:38 +0000 |
commit | 0958bb50c5317b72ffad3592a4abe901d7216aba (patch) | |
tree | 6e775b8c9fc89d3b3ef6fd8b59da0ca00d4d4e34 /audio | |
parent | 4efbb07ea81cb6db3680028a1b87f7c0b2045960 (diff) |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/zinf/files/patch-io-wavout-src-wav.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/zinf/files/patch-io-wavout-src-wav.cpp b/audio/zinf/files/patch-io-wavout-src-wav.cpp index d64134430a42..f9abc93765d8 100644 --- a/audio/zinf/files/patch-io-wavout-src-wav.cpp +++ b/audio/zinf/files/patch-io-wavout-src-wav.cpp @@ -1,5 +1,5 @@ --- io/wavout/src/wav.cpp.orig Tue Mar 18 03:53:30 2003 -+++ io/wavout/src/wav.cpp Thu Aug 21 19:47:59 2003 ++++ io/wavout/src/wav.cpp Sun Nov 9 12:54:05 2003 @@ -101,7 +101,7 @@ if (m_FP == NULL) return; @@ -9,10 +9,11 @@ #else m_WH.Length = m_WH.DataLength + sizeof(WaveHeader) - 4; #endif -@@ -118,7 +118,7 @@ +@@ -117,8 +117,7 @@ + DWORD WaveWriter::Write(const char *data, DWORD data_size) { #if !SMALL_ENDIAN - DataWritten+=data_size; +- DataWritten+=data_size; - m_WH.DataLength=SWAB32(DataWritten); + m_WH.DataLength=SWAB32(SWAB32(m_WH.DataLength) + data_size); #else |