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

Minor decoder fixes #53

Merged
merged 2 commits into from Jun 21, 2018
Merged

Minor decoder fixes #53

merged 2 commits into from Jun 21, 2018

Conversation

@ferjm
Copy link
Member

ferjm commented Jun 20, 2018

Addressing this review feedback #52 (comment)

@ferjm ferjm requested a review from Manishearth Jun 20, 2018
("format", &gst_audio::AUDIO_FORMAT_F32.to_string()),
("layout", &"interleaved"),
("channels", &(options.channels as i32)),
("rate", &(options.sample_rate as i32)),

This comment has been minimized.

@sdroege

sdroege Jun 20, 2018

Contributor

Well if you only want to handle one specific number of channels/rate here you can and probably should continue using AudioInfo. The full caps API is only needed here if you want to support e.g. ranges of channels (say, 1-16 channels) or rates

@ferjm ferjm force-pushed the ferjm:decoder.fixes branch from 3acd113 to 174c36c Jun 21, 2018
@ferjm
Copy link
Member Author

ferjm commented Jun 21, 2018

@Manishearth Manishearth merged commit 302f58e into servo:master Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.