mirror of
https://github.com/amigan/calls.git
synced 2024-11-21 12:29:47 -05:00
11 lines
295 B
Dart
11 lines
295 B
Dart
import 'package:just_audio/just_audio.dart' as justaudio;
|
|
import 'package:just_audio_media_kit/just_audio_media_kit.dart';
|
|
|
|
class AudioInitializer {
|
|
late justaudio.AudioPlayer player;
|
|
|
|
void audioInit() {
|
|
JustAudioMediaKit.ensureInitialized();
|
|
player = justaudio.AudioPlayer();
|
|
}
|
|
}
|