Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Proposal] Add RingtoneSource.FromByteArray support #4

Copy link
Copy link

Description

@AmjdAlhashede
Issue body actions

2. Add RingtoneSource.FromByteArray support

Summary

Add support for ringtones from a raw byte array (ByteArray).


Use Case

Useful when ringtone audio data is generated dynamically or received from network and you want to play or save it without writing to a file.


Proposed Implementation

Add a new data class:

data class FromByteArray(val data: ByteArray) : RingtoneSource()

Internally, handle playback or saving from the raw byte data.


Benefit

Increases flexibility by allowing direct use of raw audio data as ringtone source.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.