-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Requirements
- I have searched the existing issues to ensure this feature has not already been requested.
- I have clearly described the problem and the proposed solution.
- I have considered alternative solutions.
1. Is your feature request related to a problem? Please describe.
Im currently trying to mock an AudioEngine to test write tests for my application. I ran into the problem that
AudioDevice has some internal init, which makes it impossible for me to set the values from another assembly.
2. Describe the Solution You'd Like
Currently the code in AudioDevice looks like:
/// <summary> /// Gets the informational struct for the physical device. /// </summary> public DeviceInfo? Info { get; internal init; }
im hoping that it could be changed to:
/// <summary> /// Gets the informational struct for the physical device. /// </summary> public DeviceInfo? Info { get; protected init; }
This would make it possible for me to set DeviceInfo.
3. Describe Alternatives You've Considered
Im happy to make a PR with the changes myself, but im not sure if i have missed something and there is a reason why the init is set to internal.
4. Proposed API (if applicable)
5. Benefits
It would make it easier to extend SoundFlow from another assembly.
6. Potential Drawbacks/Challenges
No response
7. Additional Context
No response