-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
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.
question about type aliases
Registry.registerSubtype(new ResourceRegistration<>( | ||
AudioInput.SUBTYPE, | ||
AudioInputServiceGrpc.SERVICE_NAME, | ||
AudioInputRPCService::new, | ||
AudioInputRPCClient::new | ||
)); | ||
|
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.
[nit] alphabetical order
typealias AudioStream = Iterator<ChunksResponse> | ||
typealias Properties = PropertiesResponse |
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.
Do kotlin typealiases work in java?
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.
dont think they are visible in Java but this website says Java will just work with the underlying type
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.
A minor thing about missing newlines, otherwise lgtm!
*/ | ||
abstract fun getProperties(): Properties | ||
|
||
} |
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.
(minor) most of these files are missing a newline character at the end, which is needed for POSIX compliance.
@gloriacai01 can you address comments, rebase from main, and merge this PR pls? |
add audioinput wrappers + associated tests
does not support recording