[prev in list] [next in list] [prev in thread] [next in thread]
List: semsdev
Subject: [Semsdev] r12 - trunk/core
From: rco () mail ! berlios ! de (rco () mail ! berlios ! de)
Date: 2006-03-31 8:25:59
Message-ID: 200603310625.k2V6Pfip002252 () sheep ! berlios ! de
[Download RAW message or body]
Author: rco
Date: 2006-03-31 08:25:24 +0200 (Fri, 31 Mar 2006)
New Revision: 12
Modified:
trunk/core/AmAudio.cpp
Log:
changes open mode in AmAudioFile rm 'rwb' to 'w+'.
Thanks to Juha from the hint.
Modified: trunk/core/AmAudio.cpp
===================================================================
--- trunk/core/AmAudio.cpp 2006-03-24 10:36:59 UTC (rev 11)
+++ trunk/core/AmAudio.cpp 2006-03-31 06:25:24 UTC (rev 12)
@@ -394,7 +394,7 @@
open_mode = mode;
if(!is_tmp){
- fp = fopen(filename.c_str(),mode == AmAudioFile::Read ? "rb" : "rwb");
+ fp = fopen(filename.c_str(),mode == AmAudioFile::Read ? "r" : "w+");
if(!fp){
if(mode == AmAudioFile::Read)
ERROR("file not found: %s\n",filename.c_str());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic