Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opus: decode table of contents (toc) byte #111

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

thinking-tower
Copy link

@thinking-tower thinking-tower commented Feb 21, 2022

@pdeljanov, could you re-checkout opus-dev from master? I've nuked my branch because it duplicated what was already done in symphonia-format-ogg/src/mappings/opus.rs.

@darksv pinging you so you can get an idea of where the Opus progress is at.

Description

Part of the work for #8.

Part of implementing RFC 6716 Section 3.1.

@pdeljanov
Copy link
Owner

Hi @thinking-tower,

Are you sure about that? The code in the file you mentioned skips information that's not required for the OggReader such as the gain. I imagine OpusDecoder will want such information.

I could rebase opus-dev to the latest master so you don't lose your existing work. Actually, I was hoping that the extra data parser your wrote for Opus could be moved to symphonia-utils-xiph and used by symphonia-format-ogg in the future.

@thinking-tower
Copy link
Author

@pdeljanov

Are you sure about that? The code in the file you mentioned skips information that's not required for the OggReader such as the gain. I imagine OpusDecoder will want such information.

Actually, I was hoping that the extra data parser your wrote for Opus could be moved to symphonia-utils-xiph and used by symphonia-format-ogg in the future.

Good point! Updating the parser can be deferred until I need it in the decoder.

I could rebase opus-dev to the latest master so you don't lose your existing work.

That'll be awesome!

@pdeljanov
Copy link
Owner

Done! I force pushed the rebased branch to opus-dev. I'll update the base branch for this PR to opus-dev.

@pdeljanov pdeljanov changed the base branch from master to opus-dev February 22, 2022 00:01
- add opus to symphonia and symphonia-play for debugging.
@thinking-tower
Copy link
Author

@pdeljanov I've left the header code in there for now, there will be opportunities to clean it up once it's clearer how it should be used for the decoder.

@thinking-tower thinking-tower changed the title opus: decode table of contents (toc) byte. opus: add initial support (WIP) Feb 23, 2022
@pdeljanov pdeljanov merged commit e1a7009 into pdeljanov:opus-dev Feb 23, 2022
@pdeljanov
Copy link
Owner

Merged, thanks!

@thinking-tower thinking-tower changed the title opus: add initial support (WIP) opus: decode table of contents (toc) byte Feb 23, 2022
a1phyr pushed a commit to a1phyr/Symphonia that referenced this pull request Sep 21, 2024
a1phyr pushed a commit to a1phyr/Symphonia that referenced this pull request Sep 21, 2024
a1phyr pushed a commit to a1phyr/Symphonia that referenced this pull request Oct 9, 2024
a1phyr pushed a commit to a1phyr/Symphonia that referenced this pull request Nov 5, 2024
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.

2 participants