You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would allow for access on more options on my library just_audio_media_kit, and I'm guessing on other plugins as well.
Describe the solution you'd like
Have a getter like AudioPlayer.platform or AudioPlayer.nativePlayer (with AudioPlayer being the player instance) to get the underlying AudioPlayerPlatform instance
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered:
This is something I was also considering for just_audio_background which installs a custom platform interface implementation, since some users want an easy way to have one player using that implementation, and another player using a different implementation. This would involve not a getter but a setter.
So maybe the solution is to add a platform field, but mark it with some sort of annotation that gives appropriate warnings.
If you wouldn't mind, could you also provide some specifics about you would do with this API?
If you wouldn't mind, could you also provide some specifics about you would do with this API?
In my specific case, since I'm wrapping another library's player object, this would allow for finer tuning like setting specific libmpv properties via the setProperty api, for example.
Is your feature request related to a problem? Please describe.
It would allow for access on more options on my library just_audio_media_kit, and I'm guessing on other plugins as well.
Describe the solution you'd like
Have a getter like
AudioPlayer.platform
orAudioPlayer.nativePlayer
(withAudioPlayer
being the player instance) to get the underlyingAudioPlayerPlatform
instanceDescribe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: