mirror of
https://github.com/devgianlu/librespot-android.git
synced 2026-04-26 05:45:50 +03:00
[GH-ISSUE #8] Add Instrumented Tests for Sink #4
Labels
No labels
bug
enhancement
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot-android#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mitschwimmer on GitHub (Apr 25, 2021).
Original GitHub issue: https://github.com/devgianlu/librespot-android/issues/8
Originally assigned to: @mitschwimmer on GitHub.
@mitschwimmer commented on GitHub (Apr 25, 2021):
@devgianlu, would you be able to provide a method that is generating a stream of raw PCM data that I could use for testing?
So farI am only able to create a finite byte array that does lead to an audible tone if I use AudioTrack.MODE_STATIC in AndroidSinkOutput. The test in fd4c3a0 does pass with AudioTrack.MODE_STREAM as we actually need it, but then I do not get an actually audible tone during the test.
@mitschwimmer commented on GitHub (Apr 26, 2021):
Hey @devgianlu, nevermind. I found a viable solution.
@devgianlu commented on GitHub (Apr 27, 2021):
Awesome! Hadn't time to have a look. Next thing on my schedule is the UI.