Skip to content

Commit e99a63b

Browse files
authored
Merge pull request jMonkeyEngine#2512 from capdevon/capdevon-AudioNode
AudioNode: add getAudioKey() method
2 parents 762f933 + 1681763 commit e99a63b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jme3-core/src/main/java/com/jme3/audio/AudioNode.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2021 jMonkeyEngine
2+
* Copyright (c) 2009-2025 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -317,6 +317,10 @@ public void setAudioData(AudioData audioData, AudioKey audioKey) {
317317
data = audioData;
318318
this.audioKey = audioKey;
319319
}
320+
321+
public AudioKey getAudioKey() {
322+
return audioKey;
323+
}
320324

321325
/**
322326
* @return The {@link AudioData} set previously with

0 commit comments

Comments
 (0)