question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[HELP]: flutter_sound audio package conflicts

See original GitHub issue

Hi

Hope you’re well; iOS specific (problem doesnt occur on android), anytime i use another package that uses audio, flutter_sound will cause the following crash, is there any known workarounds? As soon as audio is called from any other package e.g. flutter_tts (i’ve tested several), while trying to openRecorder i will get this error and the app will immediately crash,

Thanks in advance!


*** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: IsFormatSampleRateAndChannelCountValid(format)'
*** First throw call stack:
(0x181002d3c 0x19837c6a8 0x1810cc5bc 0x1dca7eea0 0x1dcaec9a0 0x1dcad4358 0x1dcb57224 0x1dcb3b828 0x1036a4464 0x1036a4c84 0x1036a32b8 0x10258f384 0x1025907f8 0x10a36a75c 0x109ea3cf8 0x10a231bb4 0x10a1591c0 0x10a15cf24 0x18101706c 0x180fa13d8 0x180f9c06c 0x180f7bf44 0x180f8ee1c 0x1a13399a0 0x1837c2b90 0x18355816c 0x102313a20 0x102c8c250)
libc++abi: terminating with uncaught exception of type NSException
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001bb1369e8 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1bb1369e8 <+8>:  b.lo   0x1bb136a04               ; <+36>
    0x1bb1369ec <+12>: stp    x29, x30, [sp, #-0x10]!
    0x1bb1369f0 <+16>: mov    x29, sp
    0x1bb1369f4 <+20>: bl     0x1bb132670               ; cerror_nocancel
Target 0: (Runner) stopped.
Lost connection to device.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:32

github_iconTop GitHub Comments

2reactions
Larpouxcommented, Mar 20, 2022

@tan-yaka, @quickratio, others,

you are my friends, my only friends. What happens to my mother is horrible. She is 94y old.

I feel better when I know that I have friends all around the earth

1reaction
tan-yakacommented, Mar 21, 2022

@quickratio we had a requirement to recognise some weird drug names (most of which I couldn’t even pronounce!) and at the time MS STT was the only service that allowed us to train the speech model to recognise them using actual audio + transcriptions, and it worked really well. I know some of the other STT services now allow for this kind of training but we have invested a lot of time in perfecting our training method and amassed a lot of training data. I agree the Google STT API is far superior to the on device service. I’ve looked at other services like AWS Transcribe and found that to be the most difficult to implement and poorest performing in terms of accuracy. I’m going to be looking at some the smaller outfits offering STT like Speechly and Deepgram soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

flutter - How to resolve version conflicts between packages?
Run flutter clean. Then. In pubspec.yaml give audioplayers: any. Delete pubspec.lock. Then run flutter pub get and flutter run.
Read more >
just_audio | Flutter Package - Pub.dev
A feature-rich audio player for Flutter. Loop, clip and concatenate any sound from any source (asset/file/URL/stream) in a variety of audio formats with ......
Read more >
Background audio in Flutter with Audio Service and Just Audio
The Flutter audio_service plugin solves the problems described above by allowing users to listen to audio outside of the app and also by...
Read more >
Audio support · Issue #47105 · flutter/flutter - GitHub
I'd like to see an official Flutter plugin that includes the following functionality: Play local audio from device; Play local audio from ...
Read more >
10 things that are wrong with Flutter - Vladimir Ivanov Dev Blog
There are several problems here. The first one is that you NEED code generation. From having data classes and using state management(like MobX) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found