docs.rs failed to build cat_audio-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
cat_audio-0.0.4
Многоканальный аудио движок. A multichannel audio engine. feature = "audio"
Аудио движок имеет свой поток для работы со звуком. Также в нём есть хранилище аудио треков, которые можно запустить.
Поддерживает только вывод.
Пока что позволяет декодировать только треки формата mp3
.
Все треки переводятся в 24-битный формат.
Поток закрывается с паникой, так что не паникуте!
Больше вы сможете узнать из книги.
The audio engine has it's own thread to work with sound. Also it has a storage of audio tracks that could be played.
Supports only output. For now only 'mp3' format decoding is supported. All tracks are converted to the 24-bit format.
The thread closes with panic, so don't panic!
You can learn more from the book.
let audio=Audio::default(AudioSettings::new()).unwrap();
// For easier access to the audio engine
let mut wrapper=AudioWrapper::new(audio);
wrapper.load_track("audio.mp3","test".to_string());
wrapper.play_track("test",0u32).unwrap();