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

Incorrect audio shape #1

Open
ebezzam opened this issue Feb 28, 2017 · 1 comment
Open

Incorrect audio shape #1

ebezzam opened this issue Feb 28, 2017 · 1 comment

Comments

@ebezzam
Copy link
Member

ebezzam commented Feb 28, 2017

When applying browserinterface.change_config, the first buffer sent to the callback does not have the correct shape (buffer size, number of channels) but subsequent ones do. Need to apply a check as in examples/frame_processing.py.

@fakufaku
Copy link
Collaborator

fakufaku commented Mar 1, 2017

After talking with @NTag , it seems this is caused because a few audio blocks are received before the configuration is actually changed. We could change this by having a check of the stream parameters (I see some of the scripts now have it).

@NTag also pointed out that we can have a call back on change of configuration events as in the original frame_processing.py example.

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