Browse Source

Minor documentation update to mark deprecated methods.
[ci only: master] [skip appveyor]

Yao Wei Tjong 姚伟忠 9 years ago
parent
commit
4b03614216
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Urho3D/Audio/SoundSource.h

+ 2 - 2
Source/Urho3D/Audio/SoundSource.h

@@ -70,7 +70,7 @@ public:
     void SetAttenuation(float attenuation);
     /// Set stereo panning. -1.0 is full left and 1.0 is full right.
     void SetPanning(float panning);
-    /// Set whether sound source will be automatically removed from the scene node when playback stops. Note: this is deprecated, consider subscribing to the SoundFinished event instead.
+    /// \deprecated Set whether sound source will be automatically removed from the scene node when playback stops. Note: this is deprecated, consider subscribing to the SoundFinished event instead.
     URHO3D_DEPRECATED void SetAutoRemove(bool enable);
     /// Set new playback position.
     void SetPlayPosition(signed char* pos);
@@ -99,7 +99,7 @@ public:
     /// Return stereo panning.
     float GetPanning() const { return panning_; }
 
-    /// Return autoremove mode.
+    /// \deprecated Return autoremove mode.
     URHO3D_DEPRECATED bool GetAutoRemove() const { return autoRemove_; }
 
     /// Return whether is playing.