-
Notifications
You must be signed in to change notification settings - Fork 26
RSDK-12151 Audio Out Component Type #495
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
Conversation
| /// raw PCM data, pass nullptr if not needed. | ||
| /// @param extra Any additional arguments to the method | ||
| virtual void play(std::vector<uint8_t> const& audio_data, | ||
| std::shared_ptr<audio_info> info, |
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.
made info a shared pointer so it could be optional by passing a nullptr, unsure if thats the best way to handle
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.
let's use boost::optional for this sort of thing
lia-viam
left a comment
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.
thanks for the PR again, this is pretty close to mergeable
| /// raw PCM data, pass nullptr if not needed. | ||
| /// @param extra Any additional arguments to the method | ||
| virtual void play(std::vector<uint8_t> const& audio_data, | ||
| std::shared_ptr<audio_info> info, |
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.
let's use boost::optional for this sort of thing
lia-viam
left a comment
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.
lgtm, feel free to merge after resolving the conflicts from the overlap with your AudioIn merge
Audio out component type, tested manually using a modifed simple module example.