-
Notifications
You must be signed in to change notification settings - Fork 3
oac_demo: add -wav option to write WAV output #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
30ada38
docs: add CONTRIBUTING.md with test instructions
akashtc 18fc206
test: add to exercise +
akashtc 0e2ace0
oac_demo: add -wav option to write WAV output and update README
akashtc 2c05dc7
oac_demo: add -wav_in input WAV support; add functional test and CI w…
akashtc 817bb4f
dnn: add compatibility shim 'opus_types.h' and include in install lis…
akashtc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main, feat/demo-wav ] | ||
| pull_request: | ||
| branches: [ main ] | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install build deps | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y git autoconf automake libtool gcc make pkg-config | ||
| - name: Prepare build | ||
| run: | | ||
| ./autogen.sh | ||
| ./configure | ||
| - name: Build | ||
| run: | | ||
| make -j2 | ||
| - name: Run tests | ||
| run: | | ||
| make check -j2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| Contributing | ||
| ============ | ||
|
|
||
| Thank you for contributing to OAC! This document explains how to run the test | ||
| suite locally and what to expect from CI when opening a pull request. | ||
|
|
||
| Running tests locally | ||
| --------------------- | ||
|
|
||
| After building the project (see `README`), run the integrated tests: | ||
|
|
||
| % make check | ||
|
|
||
| On recent systems the test suite should complete quickly and report the | ||
| number of passing tests. For example: | ||
|
|
||
| Testsuite summary for oac | ||
| # TOTAL: 17 | ||
| # PASS: 17 | ||
|
|
||
| Continuous Integration | ||
| ---------------------- | ||
|
|
||
| The repository includes GitHub Actions workflows that build the project and | ||
| run `make -f Makefile.unix check` on push and pull requests. Please make | ||
| sure tests pass locally before opening a PR; the CI will run the test | ||
| suite and must succeed before merging. | ||
|
|
||
| Tips | ||
| ---- | ||
|
|
||
| - If a test fails locally, run `make clean` and rebuild before investigating. | ||
| - Some tests require a POSIX-like environment (e.g., Linux or macOS). | ||
|
|
||
| If you have questions, open an issue or discuss on the PR. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| /* Compatibility shim: some generated DNN headers expect "opus_types.h". | ||
| Include the canonical project header and avoid duplicating definitions. */ | ||
|
|
||
| #ifndef OPUS_TYPES_H | ||
| #define OPUS_TYPES_H | ||
|
|
||
| #include "oac_types.h" | ||
|
|
||
| #endif /* OPUS_TYPES_H */ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These changes (opus_types.h) should no longer be needed once PR1 is merged. |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a separate change and does not belong to this PR