Skip to content

Ability to play a file from a custom file handle. #472

@deadlocklogic

Description

@deadlocklogic

Hi,
I am trying to play a file with a custom handle (for example a file from external storage on Android).
So I can obtain a file stream from the required path but how to plug it into miniaudio?
I found Custom Data Sources in the documentation but it is not clear how to easily use it without manually decoding the stream.
So I want to be able to manipulate the stream using the registered decoders without much effort of manual decoding whatsoever.
Is there any example, snippets?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions