当前位置:网站首页>Golang beep package playback MP3 cannot get the total length streamer Len() is 0, but other formats can

Golang beep package playback MP3 cannot get the total length streamer Len() is 0, but other formats can

2022-06-10 14:51:00 Deng_ Xian_ Sheng

 Insert picture description here
Can be []byte To File Use , Effect and os.Open() equally .
I've tried,

os.NewFile(0, "").Write()

But the console output is garbled , The sound cannot be played
So reference embed Implemented a
https://blog.csdn.net/Deng_Xian_Sheng/article/details/125126127

原网站

版权声明
本文为[Deng_ Xian_ Sheng]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101436390435.html