mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
hmm
This commit is contained in:
parent
b7f596a410
commit
2cce1739d8
@ -17,6 +17,14 @@ main(int argc, char* argv[]) {
|
|||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
AudioSound* tester = AudioPool::load_sound(argv[1]);
|
||||||
|
AudioPool::release_all_sounds();
|
||||||
|
cerr << "all sounds but 1 released" << endl;
|
||||||
|
delete tester;
|
||||||
|
cerr << "all sounds released" << endl;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (! AudioPool::verify_sound("test.mp3")) {
|
if (! AudioPool::verify_sound("test.mp3")) {
|
||||||
audio_cat->fatal() << "could not locate 'test.mp3'" << endl;
|
audio_cat->fatal() << "could not locate 'test.mp3'" << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user