Skip to content

Commit e8b8f99

Browse files
committed
change name for setSoundSourceTime and getSoundSourceTime
1 parent fdd7c75 commit e8b8f99

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

source/scripting/api/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ Functions related to audio.
358358
- Returns the state of a sound source.
359359
* - :doc:`/types/Script/isSoundPlaying/index`
360360
- Checks if any sound source of a certain sound is playing.
361-
* - :doc:`/types/Script/setSoundSourceTime/index`
361+
* - :doc:`/types/Script/setSoundSourceCurrentTime/index`
362362
- Sets the current time of a sound source.
363-
* - :doc:`/types/Script/getSoundSourceTime/index`
363+
* - :doc:`/types/Script/getSoundSourceCurrentTime/index`
364364
- Returns the current time of a sound source.
365365
* - :doc:`/types/Script/setSoundSourcePosition/index`
366366
- Sets the position of a sound source.

source/types/Script/getSoundSourceTime/index.rst renamed to source/types/AudioModuleInterface/getSoundSourceCurrentTime/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
getSoundSourceTime
2-
==================
1+
getSoundSourceCurrentTime
2+
=========================
33

4-
:doc:`/types/Sound/index`::getSoundSourceTime
4+
:doc:`/types/AudioModuleInterface/index`::getSoundSourceCurrentTime
55

66
Returns the current time of a sound source.
77

@@ -10,7 +10,7 @@ Declaration
1010

1111
.. code-block:: cpp
1212
13-
float getSoundSourceTime(SoundSourceID soundSourceID);
13+
virtual float getSoundSourceCurrentTime(SoundSourceID soundSourceID) = 0;
1414
1515
Parameters
1616
----------

source/types/AudioModuleInterface/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Functions
3030
- Returns the state of a sound source.
3131
* - :doc:`/types/AudioModuleInterface/isSoundPlaying/index`
3232
- Checks if any sound source of a certain sound is playing.
33-
* - :doc:`/types/AudioModuleInterface/setSoundSourceTime/index`
33+
* - :doc:`/types/AudioModuleInterface/setSoundSourceCurrentTime/index`
3434
- Sets the current time of a sound source.
35-
* - :doc:`/types/AudioModuleInterface/getSoundSourceTime/index`
35+
* - :doc:`/types/AudioModuleInterface/getSoundSourceCurrentTime/index`
3636
- Returns the current time of a sound source.
3737
* - :doc:`/types/AudioModuleInterface/setSoundSourcePosition/index`
3838
- Sets the position of a sound source.

source/types/Script/setSoundSourceTime/index.rst renamed to source/types/AudioModuleInterface/setSoundSourceCurrentTime/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
setSoundSourceTime
2-
==================
1+
setSoundSourceCurrentTime
2+
=========================
33

4-
:doc:`/types/Script/index`::setSoundSourceTime
4+
:doc:`/types/AudioModuleInterface/index`::setSoundSourceCurrentTime
55

66
Sets the current time of a sound source.
77

@@ -10,7 +10,7 @@ Declaration
1010

1111
.. code-block:: cpp
1212
13-
void setSoundSourceTime(SoundSourceID soundSourceID, float newTime);
13+
virtual void setSoundSourceCurrentTime(SoundSourceID soundSourceID, float newTime) = 0;
1414
1515
Parameters
1616
----------

source/types/AudioModuleInterface/getSoundSourceTime/index.rst renamed to source/types/Script/getSoundSourceCurrentTime/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
getSoundSourceTime
2-
==================
1+
getSoundSourceCurrentTime
2+
=========================
33

4-
:doc:`/types/AudioModuleInterface/index`::getSoundSourceTime
4+
:doc:`/types/Sound/index`::getSoundSourceCurrentTime
55

66
Returns the current time of a sound source.
77

@@ -10,7 +10,7 @@ Declaration
1010

1111
.. code-block:: cpp
1212
13-
virtual float getSoundSourceTime(SoundSourceID soundSourceID) = 0;
13+
float getSoundSourceCurrentTime(SoundSourceID soundSourceID);
1414
1515
Parameters
1616
----------

source/types/Script/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ Functions
300300
- Returns the state of a sound source.
301301
* - :doc:`/types/Script/isSoundPlaying/index`
302302
- Checks if any sound source of a certain sound is playing.
303-
* - :doc:`/types/Script/setSoundSourceTime/index`
303+
* - :doc:`/types/Script/setSoundSourceCurrentTime/index`
304304
- Sets the current time of a sound source.
305-
* - :doc:`/types/Script/getSoundSourceTime/index`
305+
* - :doc:`/types/Script/getSoundSourceCurrentTime/index`
306306
- Returns the current time of a sound source.
307307
* - :doc:`/types/Script/setSoundSourcePosition/index`
308308
- Sets the position of a sound source.

source/types/AudioModuleInterface/setSoundSourceTime/index.rst renamed to source/types/Script/setSoundSourceCurrentTime/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
setSoundSourceTime
2-
==================
1+
setSoundSourceCurrentTime
2+
=========================
33

4-
:doc:`/types/AudioModuleInterface/index`::setSoundSourceTime
4+
:doc:`/types/Script/index`::setSoundSourceCurrentTime
55

66
Sets the current time of a sound source.
77

@@ -10,7 +10,7 @@ Declaration
1010

1111
.. code-block:: cpp
1212
13-
virtual void setSoundSourceTime(SoundSourceID soundSourceID, float newTime) = 0;
13+
void setSoundSourceCurrentTime(SoundSourceID soundSourceID, float newTime);
1414
1515
Parameters
1616
----------

0 commit comments

Comments
 (0)