Skip to content

Commit

Permalink
Refactor|Audio: Moved Logical Sound Manager (LSM) into audio::System
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Aug 17, 2015
1 parent d17eb81 commit e5bb2db
Show file tree
Hide file tree
Showing 5 changed files with 293 additions and 347 deletions.
11 changes: 11 additions & 0 deletions doomsday/apps/client/include/audio/system.h
Expand Up @@ -235,6 +235,9 @@ class System : public de::System
void aboutToUnloadMap();
void worldMapChanged();

/// @todo refactor away.
void clearLogical();

/**
* Provides mutable access to the sound sample cache (waveforms).
*/
Expand Down Expand Up @@ -268,6 +271,14 @@ class System : public de::System

#endif // __CLIENT__

/**
* The sound is entered into the list of playing sounds. Called when a 'world class'
* sound is started, regardless of whether it's actually started on the local system.
*
* @todo Should not be exposed to users of this class. -ds
*/
void startLogical(int soundId, struct mobj_s *emitter);

private:
DENG2_PRIVATE(d)
};
Expand Down

0 comments on commit e5bb2db

Please sign in to comment.