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

Implement basic Linux support based on parec #9

Merged
merged 2 commits into from
Aug 11, 2021

Conversation

iceychris
Copy link
Contributor

@iceychris iceychris commented Aug 9, 2021

Hey, great package!

I've coded up rudimentary support for the Linux platform by shelling out to parec.

While parec is probably not available on every Linux box, it's there on a default Ubuntu 20.04 install.

Further work may include:

  • checking if the parec binary is available and falling back to e.g. arecord if necessary

  • adding a bool to switch to recording sound output instead of microphone input

@iceychris iceychris marked this pull request as ready for review August 9, 2021 11:31
@ysak-y
Copy link
Owner

ysak-y commented Aug 10, 2021

Works finely in my environment. Thanks!!

@ysak-y
Copy link
Owner

ysak-y commented Aug 10, 2021

I'll merge it and publish new version tomorrow JST.

@iceychris
Copy link
Contributor Author

Great! ✌️

@ysak-y
Copy link
Owner

ysak-y commented Aug 11, 2021

@iceychris Uploaded. Thanks for your contribute!!
https://pub.dev/packages/flutter_audio_capture

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.

None yet

2 participants