Skip to content

Commit

Permalink
it plucking works
Browse files Browse the repository at this point in the history
i cannot believe it
i really cannot believe it
  • Loading branch information
Shaji Khan committed Mar 21, 2024
1 parent be4a3a1 commit 1119f4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/shajikhan/ladspa/amprack/Camera2.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ public void onInputBufferAvailable(@NonNull MediaCodec codec, int index) {
return;
}

// the following is always true. why?
// fixme
if (!mainActivity.avBuffer.isEmpty()) {
MainActivity.AVBuffer avBuffer = mainActivity.avBuffer.pop();
ByteBuffer buffer = codec.getInputBuffer(index);
Expand Down

0 comments on commit 1119f4d

Please sign in to comment.