Skip to content

FxDynamicParameterAPI_v3::setAsDefaultsAtTime - API method is Missing ParameterID? #423

@belisoful

Description

@belisoful

Apple Feedback Assistant ID: MISSING

DESCRIBE THE BUG:
https://developer.apple.com/documentation/professional_video_applications/fxdynamicparameterapi_v3/setasdefaultsat(_:)?language=objc
Does this function set all the current parameter settings to the default? or this parameter settings to default? Which parameter ID?

I believe this is an API oversight. The point of this API class is to manipulate specific parameter properties, like name, min, max, etc. It makes no sense that the documentation would identify that one parameter settings are set as default, but then have no input for the Parameter ID.


TO REPRODUCE:
The API across the board


EXPECTED BEHAVIOUR:
I expect the method to accept a ParameterID to set its current setting(s) to the default for that specific parameter.

Either that or the API documentation shouldn't identify one parameter to be updated but specifically say all the parameters are getting their default values set to the current settings across the board.


SCREENSHOTS:
none.


SPECS:

  • 2021 16-inch MacBook Pro (M1 Max, 32GB RAM, 2TB SSD)
  • macOS Sonoma 15.1.1
  • Final Cut Pro 11

ADDITIONAL COMMENTS:

Does this mean that FxDynamicParameterAPI_v3 is going to be FxDynamicParameterAPI_v4?
If this is the case, can you please also include a method
- (FxParameterType)parameterType:(UInt32)parameterID;

As a framework developer, it'd be nice to be able to access this information. We may not know what the developer using our FxPlug framework is doing with each parameter type. Tracking parameter type information is much more difficult than it needs to be. This is most necessary for plugins that are dynamic with their parameters, adding and removing them in real time.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions