mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
remove dead code
This commit is contained in:
parent
e5ab0ddc8f
commit
5292915b22
@ -204,16 +204,6 @@ AudioTraits::PlayerClass* WinSample::get_player(void) const {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// REFCOUNT
|
|
||||||
/*
|
|
||||||
AudioTraits::DeleteSoundFunc* WinSample::get_destroy(void) const {
|
|
||||||
if (audio_cat->is_debug())
|
|
||||||
audio_cat->debug() << "winsample get_destroy returning 0x"
|
|
||||||
<< (void*)(WinSample::destroy) << endl;
|
|
||||||
return WinSample::destroy;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
AudioTraits::DeletePlayingFunc* WinSample::get_delstate(void) const {
|
AudioTraits::DeletePlayingFunc* WinSample::get_delstate(void) const {
|
||||||
if (audio_cat->is_debug())
|
if (audio_cat->is_debug())
|
||||||
audio_cat->debug() << "winsample get_delstate returning 0x"
|
audio_cat->debug() << "winsample get_delstate returning 0x"
|
||||||
@ -428,16 +418,6 @@ WinSample* WinSample::load_raw(unsigned char* data, unsigned long size) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// REFCOUNT
|
|
||||||
/*
|
|
||||||
void WinSample::destroy(AudioTraits::SoundClass* sample) {
|
|
||||||
if (audio_cat->is_debug())
|
|
||||||
audio_cat->debug() << "winsample destroy deleting 0x" << (void*)sample
|
|
||||||
<< endl;
|
|
||||||
delete sample;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
WinMusic::~WinMusic(void) {
|
WinMusic::~WinMusic(void) {
|
||||||
// AudioManager::stop(this);
|
// AudioManager::stop(this);
|
||||||
if (audio_cat->is_debug())
|
if (audio_cat->is_debug())
|
||||||
@ -567,16 +547,6 @@ AudioTraits::PlayerClass* WinMusic::get_player(void) const {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// REFCOUNT
|
|
||||||
/*
|
|
||||||
AudioTraits::DeleteSoundFunc* WinMusic::get_destroy(void) const {
|
|
||||||
if (audio_cat->is_debug())
|
|
||||||
audio_cat->debug() << "winmusic get_destroy returning 0x"
|
|
||||||
<< (void*)(WinMusic::destroy) << endl;
|
|
||||||
return WinMusic::destroy;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
AudioTraits::DeletePlayingFunc* WinMusic::get_delstate(void) const {
|
AudioTraits::DeletePlayingFunc* WinMusic::get_delstate(void) const {
|
||||||
if (audio_cat->is_debug())
|
if (audio_cat->is_debug())
|
||||||
audio_cat->debug() << "winmusic get_delstate returning 0x"
|
audio_cat->debug() << "winmusic get_delstate returning 0x"
|
||||||
@ -584,15 +554,6 @@ AudioTraits::DeletePlayingFunc* WinMusic::get_delstate(void) const {
|
|||||||
return WinMusicPlaying::destroy;
|
return WinMusicPlaying::destroy;
|
||||||
}
|
}
|
||||||
|
|
||||||
// REFCOUNT
|
|
||||||
/*
|
|
||||||
void WinMusic::destroy(AudioTraits::SoundClass* music) {
|
|
||||||
if (audio_cat->is_debug())
|
|
||||||
audio_cat->debug() << "winmusic destroy got 0x" << (void*)music << endl;
|
|
||||||
delete music;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
WinMusic* WinMusic::load_midi(Filename filename) {
|
WinMusic* WinMusic::load_midi(Filename filename) {
|
||||||
if (audio_cat->is_debug())
|
if (audio_cat->is_debug())
|
||||||
audio_cat->debug() << "in WinMusic::load_midi()" << endl;
|
audio_cat->debug() << "in WinMusic::load_midi()" << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user