@@ -40,7 +40,7 @@ get_calibrated_clock(double rtc) const {
40
40
*
41
41
* Returns true on success, false on failure.
42
42
*/
43
- bool OpenALAudioSound::
43
+ INLINE bool OpenALAudioSound::
44
44
require_sound_data () {
45
45
if (_sd==0 ) {
46
46
_sd = _manager->get_sound_data (_movie, _desired_mode);
@@ -61,7 +61,7 @@ require_sound_data() {
61
61
* so. The `force` argument overrides this, indicating we don't intend to
62
62
* reacquire the sound data.
63
63
*/
64
- void OpenALAudioSound::
64
+ INLINE void OpenALAudioSound::
65
65
release_sound_data (bool force) {
66
66
if (!has_sound_data ()) return ;
67
67
@@ -74,7 +74,7 @@ release_sound_data(bool force) {
74
74
/* *
75
75
* Checks if the sound has NOT been cleaned up yet.
76
76
*/
77
- bool OpenALAudioSound::
77
+ INLINE bool OpenALAudioSound::
78
78
is_valid () const {
79
79
return _manager != NULL ;
80
80
}
@@ -85,7 +85,7 @@ is_valid() const {
85
85
*
86
86
* This is mainly intended for use in asserts.
87
87
*/
88
- bool OpenALAudioSound::
88
+ INLINE bool OpenALAudioSound::
89
89
is_playing () const {
90
90
// Manager only gives us a _source if we need it (to talk to OpenAL), so:
91
91
return _source != 0 ;
@@ -96,7 +96,7 @@ is_playing() const {
96
96
*
97
97
* This is mainly intended for use in asserts.
98
98
*/
99
- bool OpenALAudioSound::
99
+ INLINE bool OpenALAudioSound::
100
100
has_sound_data () const {
101
101
return _sd != 0 ;
102
102
}
0 commit comments