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

Add bufferSizeMs parameter to stream recorder #905

Closed
wants to merge 3 commits into from

Conversation

ebraraktas
Copy link

This PR allows us to resolve this issue. It adds bufferSizeMs to recorder. Hence, one can record to a stream with chunks having specific size.

NOTE: Current state of repository uses git dependencies for internal dependencies. They must be fixed once new versions are released.

@mouleshkr
Copy link

Can you guys pls merge this ?

Copy link

github-actions bot commented Dec 3, 2023

This PR is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days

@github-actions github-actions bot closed this Dec 10, 2023
@Larpoux Larpoux reopened this Feb 23, 2024
@github-actions github-actions bot closed this Mar 2, 2024
@Larpoux Larpoux reopened this Mar 2, 2024
@Larpoux
Copy link
Collaborator

Larpoux commented Mar 10, 2024

Thank your @ebraraktas for your contribution.
Your Pull Request is merged inside FlutterSound 9.4.5

@Larpoux Larpoux closed this Mar 10, 2024
@ebraraktas
Copy link
Author

Hi, I have a question. You seem to have modified my implementation by changing bufferSizeMs: int? to bufferSize: int in flutter_sound_platform_interface/lib/flutter_sound_recorder_platform_interface.dart. What is the unit of bufferSize? Is it still milliseconds?

b256bf0#diff-b3f1bbf6e8d93255c518047daed27cd962f2cbb78ba7d33b554357b9cfecfff4R175

@Larpoux
Copy link
Collaborator

Larpoux commented Mar 11, 2024

This is the capacity of the buffer in Octets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENH]: Specify chunk size with recorder
3 participants