88 questions
0
votes
0
answers
54
views
Background music stops when playing click sound using audioplayers
I'm new to Flutter and using the audioplayers package.
I have background music that I want to loop continuously, and a short click sound for taps.
The problem is that when I play the click sound, the ...
2
votes
0
answers
86
views
How do I deal with the issue of memory constantly running out, triggering lowmemorykiller and then forceclose?
I am currently developing a podcast-like application built with Flutter. I am using the just_audio library to play the audio.
When the app is opened, it works fine at first. (Plays one audio file, ...
1
vote
0
answers
51
views
Audio stops after dragging slider and doesn't resume
I'm building a Flutter audio player using the audioplayers package.
Audio plays fine initially, but when I drag the slider to seek, the audio stops and doesn’t resume, even though I call resume() ...
0
votes
1
answer
63
views
Flutter audioplayers can't play from URL (just Android)
I want to play a mp3 audio file (located in a remote server). My code works fine on Linux device and on Chrome device but, for some reason, it still doesn't work on Android.
I don't think it is a file ...
0
votes
1
answer
66
views
CMake error when trying to run audioplayers
I used version 6.3.0 in my flutter project, but it just stopped working and produced this error:
CMake Error at flutter/ephemeral/.plugin_symlinks/audioplayers_windows/windows/CMakeLists.txt:29 (...
0
votes
0
answers
118
views
How to play audio, when my flutter app is terminated (Alarm application)
I am working on an alarm app which is created in flutter. I am using android_alarm_manager_plus, flutter_foreground_task, flutter_local_notifications as the major packages to implement core ...
1
vote
0
answers
42
views
How to play audio file from Google Drive using flutter audioplayers?
I am uploading recorded audio on google drive, then I am trying to play it, with formatted URI
import 'package:audioplayers/audioplayers.dart';
late AudioPlayer _player;
final modifiedUrl = 'https://...
0
votes
0
answers
63
views
I am a Windows user and audioplayers gives linux error
I am a Windows user. Today I updated flutter and an error occurred in the audioplayers package. I could not understand the reason for the error. I am using Windows but I did not understand what the ...
2
votes
0
answers
665
views
"Module 'audioplayers_darwin' not found in Flutter project on macOS Sequoia 15 with Xcode 16.1"
I am working on a Flutter project on macOS Sequoia 15 with Xcode 16.1, running on VMware. When trying to build the project, I encounter the following error:
Module 'audioplayers_darwin' not found
...
0
votes
0
answers
156
views
Continuously Stream and Play Audio Chunks in Flutter Web?
I’ve been trying to implement streaming audio chunks (Uint8List) from an openAI tts-1 model in a Flutter Web app and playing them in sequence. The idea is to progressively fetch and buffer the audio ...
-1
votes
1
answer
149
views
Exception has occurred. FlutterError (Unable to load asset: "assets/assets/audio/ontheroad.mp3". The asset does not exist or has empty data.)
why am i havng this error Exception has occurred. FlutterError (Unable to load asset: "assets/assets/audio/ontheroad.mp3". The asset does not exist or has empty data.)
import 'package:...
0
votes
1
answer
237
views
Flutter playing sounds sequentially, but with a gap between them
I have a requirement to play .mp3 sound files one after another, with no break or gap in between. While there is no issue in playing the sound files sequentially, there is a pause between them which ...
1
vote
0
answers
53
views
Trouble with short mp3s using Flutter audioplayers plugin
I'm playing mp3s in Flutter code a trivial way, using the dependencies line audioplayers: ^6.0.0 in my pubspec.yaml:
import 'package:audioplayers/audioplayers.dart';
import 'package:flutter/material....
3
votes
1
answer
727
views
Cannot find 'AVURLAssetOverrideMIMETypeKey' in scope
I am using audioplayers package in my flutter app. It works well on android, but when i try to generate an archive for iOS, the build fails with the following message:
Cannot find '...
0
votes
1
answer
252
views
Flutter application crashes on iOS devices due to audio_players darwin plugin
I am currently facing an issue regarding my Flutter application. It is currently working fine on Android and all the relative devices but I have a problem with iOS simulators.
The log that I am ...