Panda3D
Functions
audioManager.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "config_audio.h"
#include "audioManager.h"
#include "atomicAdjust.h"
#include "nullAudioManager.h"
#include "windowsRegistry.h"
#include "virtualFileSystem.h"
#include "config_putil.h"
#include "load_dso.h"

Go to the source code of this file.

Functions

 PT (AudioManager) AudioManager
 
 PT (AudioSound) AudioManager
 Returns a special NullAudioSound object that has all the interface of a normal sound object, but plays no sound. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
skyler
Date
2001-06-06 Prior system by: cary

Definition in file audioManager.cxx.

Function Documentation

◆ PT()

PT ( AudioSound  )

Returns a special NullAudioSound object that has all the interface of a normal sound object, but plays no sound.

This is what creates a sound instance.

This same object may also be returned by get_sound() if it fails.

Definition at line 154 of file audioManager.cxx.

References AtomicAdjustDummyImpl::compare_and_exchange_ptr(), and ReferenceCount::ref().