Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Node CI

on: [push, pull_request]
on: pull_request

jobs:
build:
Expand Down Expand Up @@ -52,3 +52,19 @@ jobs:

- name: Run tests
run: npm test

# Summary job that all matrix jobs must pass
# Used as the required status check in branch protection
test-summary:
name: Test Summary
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Check build matrix status
run: |
if [ "${{ needs.build.result }}" != "success" ]; then
echo "One or more build jobs failed"
exit 1
fi
echo "All build jobs passed successfully"
3 changes: 2 additions & 1 deletion deps/mpg123/src/output/coreaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ static OSStatus playProc(AudioConverterRef inAudioConverter,
/* Only play if we have data left */
if ( sfifo_used( &ca->fifo ) < (int)wanted ) {
if(!ca->decode_done) {
warning("Didn't have any audio data in callback (buffer underflow)");
// Commented out below warning because it floods stdout
// warning("Didn't have any audio data in callback (buffer underflow)");
return -1;
}
wanted = sfifo_used( &ca->fifo );
Expand Down