-
Notifications
You must be signed in to change notification settings - Fork 89
Example implementation of an audio sender control class #472
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
base: master
Are you sure you want to change the base?
Conversation
Added audio sender control class and related data types to manage audio sender properties and descriptors.
Implement audio sender control class and descriptors
Removed example sender control from root block setup.
|
Hi @maweit. Thank you for your Pull Request - I'll add some review comments to the code. |
| if (sender_data.has_field(U("subscription"))) snd_control_property_descriptors.push_back(nmos::experimental::make_control_class_property_descriptor(U("subscription"), { 3, 11 }, subscription_property, U("NcSenderObjectType"))); | ||
| if (sender_data.has_field(U("transport"))) snd_control_property_descriptors.push_back(nmos::experimental::make_control_class_property_descriptor(U("transport"), { 3, 12 }, transport_property, U("NcString"))); | ||
|
|
||
| auto snd_class_id = nmos::nc::make_class_id(nmos::nc_worker_class_id, 0, { 5 }); |
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.
make_audio_sender_descriptors actually performs two functions - as well as making the audio sender class and datatype descriptors, it also makes the class_id for the audio sender class - I think I'd rather see the class id passed in as a parameter and then the function is only doing one thing.
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.
Makes sense and i changed that. Please review.
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Updates to MS-05 sender control
Added audio sender control class and related data types as an example for audio sender properties and descriptors.