git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9321 75d07b2b-3a1a-0410-a2c5-0572b91ccdca3.0
parent
60e0e46344
commit
7ec115a768
@ -1,19 +0,0 @@ |
||||
package com.jme3.audio; |
||||
|
||||
import com.jme3.asset.AssetKey; |
||||
import com.jme3.asset.AssetProcessor; |
||||
|
||||
public class AudioProcessor implements AssetProcessor{ |
||||
|
||||
public Object postProcess(AssetKey key, Object obj) { |
||||
AudioKey audioKey = (AudioKey) key; |
||||
AudioData audioData = (AudioData) obj; |
||||
return new AudioNode(audioData, audioKey); |
||||
} |
||||
|
||||
public Object createClone(Object obj) { |
||||
AudioNode node = (AudioNode) obj; |
||||
return node.clone(); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue