____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"
Public Member Functions | |
| ~CSampleWavStream () | |
| int | Read (void *buf, int len) |
Public Attributes | |
| WavData | Data |
Definition at line 69 of file wav.cpp.
| CSampleWavStream::~CSampleWavStream | ( | ) |
Definition at line 150 of file wav.cpp.
References CSample::Buffer, CFile::close(), Data, and WavData::WavFile.
| int CSampleWavStream::Read | ( | void * | buf, | |
| int | len | |||
| ) | [virtual] |
Implements CSample.
Definition at line 82 of file wav.cpp.
References CSample::Buffer, WavData::ChunkRem, DATA, Data, CSample::Len, WavChunk::Length, WavChunk::Magic, CSample::Pos, CFile::read(), CFile::seek(), SOUND_BUFFER_SIZE, and WavData::WavFile.
1.5.6