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

Audio waveform clipping on the left side during recording in Flutter app #350

Closed
decisionslab2 opened this issue Oct 24, 2024 · 2 comments · Fixed by #351
Closed

Audio waveform clipping on the left side during recording in Flutter app #350

decisionslab2 opened this issue Oct 24, 2024 · 2 comments · Fixed by #351
Labels
bug Something isn't working

Comments

@decisionslab2
Copy link

Describe the bug
The audio waveform is not rendering correctly in the app, and it appears to be cut off on the left side. I have attached a screenshot below to illustrate the issue.

To Reproduce
`Widget build(BuildContext context) {
return Scaffold(
appBar: _appbar(widget.meeting),
body: Padding(
padding: EdgeInsets.only(left: 20),
child: recordControls(),
));
}

Widget recordControls() {
try {
return AudioWaveforms(
enableGesture: false,
size: Size(double.infinity, 80),
recorderController: _recorderController,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12.0),
color: Colors.transparent,
),
waveStyle: WaveStyle(
extendWaveform: true,
spacing: 21,
scaleFactor: 200,
showMiddleLine: false,
waveColor: AppUtils.isDarkTheme(context)
? Colors.white
: Colors.grey.shade800,
waveCap: StrokeCap.round,
waveThickness: 5.0,
),
);
} catch (e) {
Trace.trackException(
error: e, location: "RecordMeetingDashboard_recordControls");
return Container();
}
}`

Expected behavior
The waveform should render completely from the left side without any clipping.

Smartphone (please complete the following information):
Android and ios

Screenshots
image

Additional context
AudioWaveforms package version: audio_waveforms: ^1.1.1

@nabiarshad
Copy link

Any update when this will go live.
Thanks.

@ujas-m-simformsolutions ujas-m-simformsolutions added the Need to Release Marks the issue which is already fixed but not released on pub.dev label Nov 13, 2024
@ujas-m-simformsolutions ujas-m-simformsolutions removed the Need to Release Marks the issue which is already fixed but not released on pub.dev label Dec 2, 2024
@decisionslab2
Copy link
Author

This issue still exists. Any updates on fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants