Giter Club home page Giter Club logo

Comments (4)

mcwuguodadi avatar mcwuguodadi commented on June 8, 2024

日志861行处
latest.log

补充说明:mod会跳过出现这类问题的歌曲,直接播放下一首能正常播放的歌曲

from cloudmusic-mod.

mcwuguodadi avatar mcwuguodadi commented on June 8, 2024

准备了一份只有cloudmusic-mod-1.20.x-0.4.5及其前置的日志以排除与其他mod的兼容性问题
latest.log

from cloudmusic-mod.

FengLiuFeseliud avatar FengLiuFeseliud commented on June 8, 2024

没会员测不出这 bug, 先其它音质用, 我修修(

from cloudmusic-mod.

GLDYM avatar GLDYM commented on June 8, 2024

我尝试修改了输出流的采样深度,改为与输入流相同(如果未指定则为16bit),依然报错。
所以问题出在现在的java原生还不支持24bit音频的转换,如果要解决这个问题的话估计要引入其他的java库。

[21:19:48] [CloudMusicPlayer thread/INFO]: [STDOUT]: FLAC 44100.0 Hz, 24 bit, stereo, unknown frame size, unknown frame rate
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: java.lang.IllegalArgumentException: Unsupported conversion: PCM_SIGNED 44100.0 Hz, 24 bit, stereo, 4 bytes/frame, little-endian from FLAC 44100.0 Hz, 24 bit, stereo, unknown frame size, unknown frame rate
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: 	at java.desktop/javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:892)
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: 	at fengliu.cloudmusic.util.MusicPlayer.play(MusicPlayer.java:139)
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: 	at fengliu.cloudmusic.util.MusicPlayer.play(MusicPlayer.java:191)
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: 	at fengliu.cloudmusic.util.MusicPlayer.playMusic(MusicPlayer.java:123)
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: 	at fengliu.cloudmusic.util.MusicPlayer.run(MusicPlayer.java:62)
[21:19:48] [CloudMusicPlayer thread/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:1583)

from cloudmusic-mod.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.