1 | svoid lavaPlayer_printPlayerEvents(AudioPlayer player) { |
2 | DynModule mod = dm_current_mandatory(); |
3 | player.addListener(e -> { |
4 | temp dm_enter(mod); |
5 | print("Audio event: " + e); |
6 | if (e cast TrackExceptionEvent) |
7 | printStackTrace(e.exception); |
8 | }); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025347 |
Snippet name: | lavaPlayer_printPlayerEvents |
Eternal ID of this version: | #1025347/3 |
Text MD5: | d69769dc9297231d7e94f66b956c330a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-24 02:12:47 |
Source code size: | 270 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 247 / 290 |
Version history: | 2 change(s) |
Referenced in: | [show references] |