mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
*** empty log message ***
This commit is contained in:
parent
024d774ccd
commit
375718f783
@ -13,7 +13,7 @@ INLINE WinMusic::WinMusic(void) : AudioTraits::SoundClass(),
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINE IDirectMusicPerformance* WinMusic::get_performance(void) {
|
INLINE IDirectMusicPerformance* WinMusic::get_performance(void) const {
|
||||||
return _performance;
|
return _performance;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ INLINE LPDIRECTSOUNDBUFFER WinSamplePlaying::get_channel(void) {
|
|||||||
return _channel;
|
return _channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINE IDirectMusicPerformance* WinMusic::get_performance(void) const {
|
INLINE IDirectMusicPerformance* WinMusicPlaying::get_performance(void) const {
|
||||||
WinMusic* wmusic = (WinMusic*)_sound;
|
WinMusic* wmusic = (WinMusic*)_sound;
|
||||||
return wmusic->get_performance();
|
return wmusic->get_performance();
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ public:
|
|||||||
// these are used by the loaders
|
// these are used by the loaders
|
||||||
static WinMusic* load_midi(Filename);
|
static WinMusic* load_midi(Filename);
|
||||||
// these are used by the players
|
// these are used by the players
|
||||||
INLINE IDirectMusicPerformance* get_performance(void);
|
INLINE IDirectMusicPerformance* get_performance(void) const;
|
||||||
INLINE IDirectMusicSegment* get_music(void);
|
INLINE IDirectMusicSegment* get_music(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user