Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove the test_set_channel_layout_input #32

Merged
merged 1 commit into from
Dec 20, 2019

Conversation

ChunMinChang
Copy link
Member

Calling audiounit_get_current_channel_layout by input-only
(microphone-only) AudioUnit is prone to cause crash intermittently.

The test_set_channel_layout_input is likely to cause intermittent crash
since it calls audiounit_get_current_channel_layout by an input-only
AudioUnit. Removing this test can avoid the random crashes when running
cargo test (#31).

The cubeb implementation has no need to get the channel-layout on input
side, so the test_set_channel_layout_input is unnecessary anyway.

Calling audiounit_get_current_channel_layout by input-only
(microphone-only) AudioUnit is prone to cause crash intermittently.

The test_set_channel_layout_input is likely to cause intermittent crash
since it calls audiounit_get_current_channel_layout by a input-only
AudioUnit. Removing this test can avoid the random crashes when running
`cargo test` (#31).

The cubeb implementation has no need to get the channel-layout on input
side, so the test_set_channel_layout_input is unnecessary anyway.
@ChunMinChang ChunMinChang requested a review from padenot December 18, 2019 18:07
@ChunMinChang ChunMinChang self-assigned this Dec 18, 2019
Copy link
Collaborator

@padenot padenot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to land this now, but please try to understand the crash.

@ChunMinChang
Copy link
Member Author

Ok to land this now, but please try to understand the crash.

Sure, I'll keep the #31 open

@ChunMinChang ChunMinChang merged commit ae43813 into trailblazer Dec 20, 2019
@ChunMinChang ChunMinChang deleted the remove-test_set_channel_layout_input branch December 20, 2019 20:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants