Skip to content

Add IEC61937 for API 34 #1758

Merged
robertwu1 merged 3 commits intomainfrom
robertwu/addiec61937
Apr 7, 2023
Merged

Add IEC61937 for API 34 #1758
robertwu1 merged 3 commits intomainfrom
robertwu/addiec61937

Conversation

@robertwu1
Copy link
Copy Markdown
Collaborator

Fixes #1757

@robertwu1 robertwu1 requested review from flamme and philburk March 21, 2023 23:12
@robertwu1 robertwu1 requested a review from flamme March 21, 2023 23:39
Copy link
Copy Markdown
Collaborator

@flamme flamme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good to me. Thanks for making the change!

Comment thread apps/OboeTester/app/src/main/cpp/FormatConverterBox.cpp
@philburk
Copy link
Copy Markdown
Contributor

philburk commented Apr 4, 2023

Can this be tested?

@robertwu1
Copy link
Copy Markdown
Collaborator Author

Can this be tested?

You can test opening the stream with OboeTester.

By looking at the device report, if encoding 13 is supported, then this should open for API 34+.

@philburk
Copy link
Copy Markdown
Contributor

philburk commented Apr 5, 2023

You can test using OboeTester by selecting IEC61937
then select SampleRate=32000
then select SRC Quality::Medium
Oboe should fail on Open.

@robertwu1
Copy link
Copy Markdown
Collaborator Author

You can test using OboeTester by selecting IEC61937 then select SampleRate=32000 then select SRC Quality::Medium Oboe should fail on Open.

Good test! This works for SampleRate=32000 but fails for SampleRate=96000 on the TV I tested as 32000 is supported on the TV but not 96000.

@robertwu1 robertwu1 merged commit 8ac53b8 into main Apr 7, 2023
@robertwu1 robertwu1 deleted the robertwu/addiec61937 branch April 7, 2023 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add IEC61937 to Oboe for API 34

3 participants