Skip to content
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

RSDK-8714: add audioinput wrappers #68

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

gloriacai01
Copy link
Member

@gloriacai01 gloriacai01 commented Sep 13, 2024

add audioinput wrappers + associated tests
does not support recording

@gloriacai01 gloriacai01 requested a review from a team as a code owner September 13, 2024 15:11
Copy link
Member

@njooma njooma left a comment

Choose a reason for hiding this comment

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

question about type aliases

Comment on lines 148 to 154
Registry.registerSubtype(new ResourceRegistration<>(
AudioInput.SUBTYPE,
AudioInputServiceGrpc.SERVICE_NAME,
AudioInputRPCService::new,
AudioInputRPCClient::new
));

Copy link
Member

Choose a reason for hiding this comment

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

[nit] alphabetical order

Comment on lines +11 to +12
typealias AudioStream = Iterator<ChunksResponse>
typealias Properties = PropertiesResponse
Copy link
Member

Choose a reason for hiding this comment

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

Do kotlin typealiases work in java?

Copy link
Member Author

Choose a reason for hiding this comment

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

dont think they are visible in Java but this website says Java will just work with the underlying type

Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

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

A minor thing about missing newlines, otherwise lgtm!

*/
abstract fun getProperties(): Properties

}
Copy link
Member

Choose a reason for hiding this comment

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

(minor) most of these files are missing a newline character at the end, which is needed for POSIX compliance.

@njooma
Copy link
Member

njooma commented Oct 8, 2024

@gloriacai01 can you address comments, rebase from main, and merge this PR pls?

@gloriacai01 gloriacai01 merged commit 724085a into viamrobotics:main Oct 8, 2024
3 checks passed
@gloriacai01 gloriacai01 deleted the audioinput branch October 8, 2024 17:16
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.

3 participants