Changeset 8446
- Timestamp:
- 2006-08-26 10:42:23 (2 years ago)
- Files:
-
- libofa/trunk/examples/protocol.cpp (modified) (1 diff)
- libofa/trunk/examples/wavefile.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libofa/trunk/examples/protocol.cpp
r7510 r8446 259 259 // printf("response: %s\n\n", response.c_str()); 260 260 261 unsigned intq = response.find("<?xml");261 string::size_type q = response.find("<?xml"); 262 262 if (q != string::npos) { 263 263 response = response.substr(q); libofa/trunk/examples/wavefile.cpp
r7510 r8446 43 43 int channels = 0; 44 44 45 int fd = open(file, O_RDONLY | 0x8000); 45 #ifdef WIN32 46 int fd = open(file, O_RDONLY | 0x8000); // Why not O_BINARY? 47 #else 48 int fd = open(file, O_RDONLY); 49 #endif 46 50 if (fd == -1) 47 51 return 0;