Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upStereoPannerNode backend #243
Conversation
|
I don't think this compiles yet? This will also need an example, something similar to params.rs except you use a StereoPannerNode instead of a GainNode, and you only need to do a SetValue plus some linear ramps on the pan param. (with headphones you should hear the sound moving around) |
|
@Manishearth Okay, I updated stereo_panner_node.rs to reflect the changes you suggested. I will make another commit once I have made the example. |
|
@Manishearth Okay, I added an example. As I said to the dev-servo email list, I am still having trouble running any examples on my computer, so I am not able to test my example. But it seems to compile using "cargo build". Please let me know if I need to change anything else. |
|
Your code still doesn't build, please ensure that Currently you don't have a module entry for your file, once you add that to lib.rs then Rust will find your code and be able to compile it. |
|
This still doesn't build, please ensure it builds first. It's fine if you're still having trouble running it, but you shouldn't have any rust-side errors. |
|
Still doesn't build, commented with some obvious errors but I suspect there are more. |
|
@Manishearth Thank you. I've just been committing incrementally as I've been fixing the problems you mention. I'm sorry if you get a notification every time. It seems to build now so please take a look. |
|
Oh, I see, thanks.
I'll review in a bit.
…On Mon, Apr 29, 2019, 10:26 AM Maria Sable ***@***.***> wrote:
@Manishearth <https://github.com/Manishearth> Thank you. I've just been
committing incrementally as I've been fixing the problems you mention. I'm
sorry if you get a notification every time. It seems to build now so please
take a look.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#243 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMK6SARKNRDYLAIBYRIIXTPS4VURANCNFSM4HI42HPA>
.
|
|
Make sure you address the warnings as well. |
|
@Manishearth I made the changes you suggested, but it looks like all the current warnings are either because an import was never used or because a variable does not need to be mutable. It looks like a lot of the warnings are outside the scope of the files I've changed. |
|
@Manishearth It seems to build successfully now, and all the warnings are for files/parts unmodified by the committed code. Could you please take another look? |
|
This works, thanks! Please run |
|
@Manishearth I am trying to squash my commits based on the instructions that were given in #242. However, when I run |
|
It's because you merged master into this PR instead of rebasing over master. No big deal, I'll fix it. |
|
@Manishearth Sorry! So I should squash them all? Or just do nothing? I ran |
|
Actually it's just the first merge commit, remove everything before "Implemented the backend for StereoPannerNode" in the rebase dialog before using |
|
@Manishearth Okay, I did that. It stopped midway after I ran the |
|
Can you tick the "allow collaborators to push to this pull request" checkbox on the side of this PR? I've got it rebased. |
|
@Manishearth The only checkbox I see is "Allow edits from maintainers", and it was already checked, but I just unchecked it and checked it again. |
|
Ah, i had the fork wrong. Fixed. |
|
@bors-servo r+ Thanks! |
|
|
StereoPannerNode backend Implemented the backend for StereoPannerNode in the media crate by creating a new node implementation using PannerNode as a guide according to the specification.
|
|
StereoPannerNode DOM <!-- Please describe your changes on the following line: --> This is the DOM implementation for StereoPannerNode. Backend implemented in servo/media#243. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23281) <!-- Reviewable:end -->
StereoPannerNode DOM <!-- Please describe your changes on the following line: --> This is the DOM implementation for StereoPannerNode. Backend implemented in servo/media#243. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23281) <!-- Reviewable:end -->
StereoPannerNode DOM <!-- Please describe your changes on the following line: --> This is the DOM implementation for StereoPannerNode. Backend implemented in servo/media#243. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23281) <!-- Reviewable:end -->
StereoPannerNode DOM <!-- Please describe your changes on the following line: --> This is the DOM implementation for StereoPannerNode. Backend implemented in servo/media#243. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23281) <!-- Reviewable:end -->
PurpleHairEngineer commentedApr 27, 2019
•
edited
Implemented the backend for StereoPannerNode in the media crate by creating a new node implementation using PannerNode as a guide according to the specification.