mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fmod: fix FmodAudioSound::get_speaker_mix()
This commit is contained in:
parent
cb2329b3f1
commit
98e767c370
@ -651,7 +651,7 @@ get_3d_max_distance() const {
|
|||||||
* a balance [pan] function what is the point?
|
* a balance [pan] function what is the point?
|
||||||
*/
|
*/
|
||||||
PN_stdfloat FmodAudioSound::
|
PN_stdfloat FmodAudioSound::
|
||||||
get_speaker_mix(AudioManager::SpeakerId speaker) {
|
get_speaker_mix(int speaker) {
|
||||||
ReMutexHolder holder(FmodAudioManager::_lock);
|
ReMutexHolder holder(FmodAudioManager::_lock);
|
||||||
if (_channel == 0) {
|
if (_channel == 0) {
|
||||||
return 0.0;
|
return 0.0;
|
||||||
|
@ -126,7 +126,7 @@ public:
|
|||||||
|
|
||||||
AudioSound::SoundStatus status() const;
|
AudioSound::SoundStatus status() const;
|
||||||
|
|
||||||
virtual PN_stdfloat get_speaker_mix(AudioManager::SpeakerId speaker);
|
virtual PN_stdfloat get_speaker_mix(int speaker);
|
||||||
virtual void set_speaker_mix(PN_stdfloat frontleft, PN_stdfloat frontright, PN_stdfloat center, PN_stdfloat sub, PN_stdfloat backleft, PN_stdfloat backright, PN_stdfloat sideleft, PN_stdfloat sideright);
|
virtual void set_speaker_mix(PN_stdfloat frontleft, PN_stdfloat frontright, PN_stdfloat center, PN_stdfloat sub, PN_stdfloat backleft, PN_stdfloat backright, PN_stdfloat sideleft, PN_stdfloat sideright);
|
||||||
|
|
||||||
void set_active(bool active=true);
|
void set_active(bool active=true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user