aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/soundchan/AudioPlayerSendHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/soundchan/AudioPlayerSendHandler.java b/src/main/java/soundchan/AudioPlayerSendHandler.java
index cd76807..5e174ca 100644
--- a/src/main/java/soundchan/AudioPlayerSendHandler.java
+++ b/src/main/java/soundchan/AudioPlayerSendHandler.java
@@ -35,7 +35,7 @@ public class AudioPlayerSendHandler implements AudioSendHandler {
lastFrame = audioPlayer.provide();
}
- byte[] data = lastFrame != null ? lastFrame.data : null;
+ byte[] data = lastFrame != null ? lastFrame.getData() : null;
lastFrame = null;
return data;