OSDN Git Service

Added an AudioContext to hold the thread local audio
authorPSpeed42@gmail.com <PSpeed42@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 17 Jul 2011 21:24:11 +0000 (21:24 +0000)
committerPSpeed42@gmail.com <PSpeed42@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 17 Jul 2011 21:24:11 +0000 (21:24 +0000)
commitee9a8fc9775d86297d3618170ce1a88e30b59ab5
tree23379135259575261b21ae1bac7fffa1cfd4df95
parent96cea28c40ce4a92ea4afa243284fcfe7d3f1cd8
Added an AudioContext to hold the thread local audio
renderer as set by the application update().  a) this
ensures that the audio node must be updated on the render
thread like everything else, b) it means that audio node
doesn't need to juggle its own reference to AudioRenderer
since from the right thread it can always get at it.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
engine/src/core/com/jme3/app/Application.java
engine/src/core/com/jme3/audio/AudioContext.java [new file with mode: 0644]
engine/src/core/com/jme3/audio/AudioNode.java