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

auxMixer #3

Closed
terenzeyuen opened this issue Aug 26, 2017 · 2 comments
Closed

auxMixer #3

terenzeyuen opened this issue Aug 26, 2017 · 2 comments

Comments

@terenzeyuen
Copy link

Great work! I noticed in initPlayer you reconnectNodes to auxMixer instead of mainMixer. Any reasons for it as I can't seem to find any place in code that uses auxMixer (yet)?

@kartik-venugopal
Copy link
Owner

Hi Terenz,

Thanks for your feedback. Yes, I reconnect playerNode to aux mixer because the aux mixer is responsible for performing sample rate conversions and channel count conversions.

I cannot do this with main mixer, because there are other nodes (EQ, Pitch, etc), between the player and main mixer, so I had to insert an aux mixer to perform the conversions.

Hope this helps !

@terenzeyuen
Copy link
Author

Thank you very much @maculateConception

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

No branches or pull requests

2 participants