mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 08:16:16 +00:00
Fixed: Typos and warnings
This commit is contained in:
parent
a472f1e741
commit
c199b84cbf
5 changed files with 7 additions and 4 deletions
|
@ -52,7 +52,7 @@ namespace NLSOUND {
|
|||
class CGroupController : public UGroupController
|
||||
{
|
||||
public:
|
||||
friend CGroupControllerRoot;
|
||||
friend class CGroupControllerRoot;
|
||||
|
||||
private:
|
||||
CGroupController *m_Parent;
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace NLSOUND {
|
|||
class CStreamFileSound : public CStreamSound
|
||||
{
|
||||
public:
|
||||
friend CSourceMusicChannel;
|
||||
friend class CSourceMusicChannel;
|
||||
|
||||
public:
|
||||
CStreamFileSound();
|
||||
|
|
|
@ -102,7 +102,7 @@ static ov_callbacks OV_CALLBACKS_NLMISC_STREAM = {
|
|||
};
|
||||
|
||||
CAudioDecoderVorbis::CAudioDecoderVorbis(NLMISC::IStream *stream, bool loop)
|
||||
: _Stream(stream), _Loop(loop), _StreamSize(0), _IsMusicEnded(false)
|
||||
: _Stream(stream), _Loop(loop), _IsMusicEnded(false), _StreamSize(0)
|
||||
{
|
||||
_StreamOffset = stream->getPos();
|
||||
stream->seek(0, NLMISC::IStream::end);
|
||||
|
|
|
@ -3,6 +3,8 @@ FILE(GLOB HEADERS ../../../include/nel/sound/driver/*.h)
|
|||
|
||||
NL_TARGET_LIB(nelsnd_lowlevel ${HEADERS} ${SRC})
|
||||
|
||||
TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc)
|
||||
|
||||
SET_TARGET_PROPERTIES(nelsnd_lowlevel PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
||||
NL_DEFAULT_PROPS(nelsnd_lowlevel "NeL, Library: Sound Lowlevel")
|
||||
NL_ADD_RUNTIME_FLAGS(nelsnd_lowlevel)
|
||||
|
|
|
@ -87,7 +87,8 @@ std::string CGroupController::getPath() // overridden by root
|
|||
return returnPath;
|
||||
}
|
||||
}
|
||||
|
||||
nlerror("Group Controller not child of parent");
|
||||
return "";
|
||||
}
|
||||
|
||||
void CGroupController::calculateFinalGain() // overridden by root
|
||||
|
|
Loading…
Reference in a new issue