Skip to content

Add FLAC Support for Audio Uploads#91

Closed
Zidiam wants to merge 2 commits intojackTabsCode:mainfrom
Zidiam:main
Closed

Add FLAC Support for Audio Uploads#91
Zidiam wants to merge 2 commits intojackTabsCode:mainfrom
Zidiam:main

Conversation

@Zidiam
Copy link
Copy Markdown
Contributor

@Zidiam Zidiam commented Jan 13, 2025

This pull request adds the Flac variant to the AudioKind enum in Asphalt's asset handling, enabling .flac audio files to be properly recognized and mapped to CloudAssetType::AudioFlac. The primary changes include:

  • Extending the AudioKind enum to support Flac.
  • Matching .flac in the Asset::new constructor, so Asphalt no longer errors on unknown extension.
  • Mapping AudioKind::Flac to CloudAssetType::AudioFlac, allowing the upload process to treat .flac like any other supported audio format.

With this addition, .flac files can now be uploaded as high-fidelity audio assets through Asphalt without manual format conversion or “unknown extension” errors.

Don't Merge Untill rbxcloud merges in:

Sleitnick/rbxcloud#65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant