Skip to content

Conversation

@rfwatson
Copy link
Contributor

Hi there,

This patch adds some basic test coverage for the above function.

It also includes a tiny change adding an #[allow(dead_code)] to kill a compilation warning in the ALSA module.

Copy link
Member

@mitchmindtree mitchmindtree left a comment

Choose a reason for hiding this comment

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

Thanks! I left one comment, otherwise happy to merge.


#[allow(dead_code)]
// Whether or not the hardware supports pausing the stream.
can_pause: bool,
Copy link
Member

Choose a reason for hiding this comment

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

Could you possibly add a // TODO: We need an API to expose this. See #197, #284.

@rfwatson
Copy link
Contributor Author

Done! Thanks.

@mitchmindtree
Copy link
Member

Ahhhh #401 just landed today - it looks like this might need to be updated to account for it?

@rfwatson
Copy link
Contributor Author

Ahhhh #401 just landed today - it looks like this might need to be updated to account for it?

Good shout. I'll take a look later.

@rfwatson
Copy link
Contributor Author

Should be passing again now 🙂

@mitchmindtree mitchmindtree merged commit 997fb9f into RustAudio:master Jul 14, 2020
@rfwatson rfwatson deleted the add-cmp-tests branch July 14, 2020 20:16
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

Successfully merging this pull request may close these issues.

2 participants