Skip to content

Commit

Permalink
Add toString for encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
henkelmax committed Mar 20, 2023
1 parent 4f65ffe commit b13f35f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/de/maxhenkel/opus4j/OpusEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public boolean isClosed() {
return encoder == 0L;
}

@Override
public String toString() {
return String.format("OpusEncoder[%d]", encoder);
}

public static enum Application {
VOIP(0),
AUDIO(1),
Expand Down

0 comments on commit b13f35f

Please sign in to comment.