Comments (9)
Are you able to reproduce at will? If so could you enable logging of the
decode thread: "-d decode=debug"
I don't initially see how this state happens as resample_drain is only called
within the decode thread. Other callers which may set r->resampler to 0 should
be called with a mutex set which is help when resample_drain is called.
Which mp3 codec are you using?
Original comment by [email protected]
on 5 Jan 2015 at 7:12
from squeezelite.
I cannot reproduce it instantly, but I can reproduce it within 30 minutes
nearly 100% of the time. I will get that log.
I haven't passed along any options on which MP3 library to select, so I guess
the default? Any particular way to find out which it's using? (Perhaps that
logging will do it)
Original comment by [email protected]
on 5 Jan 2015 at 7:36
from squeezelite.
Captured a log. Attached.
Original comment by [email protected]
on 5 Jan 2015 at 8:04
Attachments:
from squeezelite.
Thanks. I've not been able to reproduce over the last hour.
I can protect that part of the code easily, but I want to understand why it
gets there as I was not expecting a second call of drain. I'm speculating that
there's a slimproto message which changes the state of teh decode process at
the relavent point.
Is there any change you could do a log with "-d all=debug". This should help
me understand what is going on...
Original comment by [email protected]
on 5 Jan 2015 at 10:35
from squeezelite.
Here you go. Thanks!
Original comment by [email protected]
on 5 Jan 2015 at 11:14
Attachments:
from squeezelite.
An update - I have now duplicated this with FLAC files as well.
Also, it happens on both of my x86_64 machines, but not on my Raspberry Pi, of
a wonder.
Original comment by [email protected]
on 6 Jan 2015 at 2:34
from squeezelite.
Thanks - looks like it receives an strm u message from the server after it has
decoded the file. I'm not currently sure what creates this - I can't do it
from my server under normal playback...
Anyway the attached patch should help. I want to do some testing of this as it
is changing what I now consider to be a bug in the decode state machine. It
also protects against errors from libsoxr which is probably actually enough to
fix the crash.
Any chance you could try it with and without the changes to resample.c?
Original comment by [email protected]
on 6 Jan 2015 at 9:01
Attachments:
from squeezelite.
So far, it looks good without the resample.c patch. I will now retry with it
and let you know.
Original comment by [email protected]
on 7 Jan 2015 at 12:46
from squeezelite.
And indeed, it is also looking good with the resample patch.
Original comment by [email protected]
on 7 Jan 2015 at 1:52
from squeezelite.
Related Issues (20)
- Feature request: External volume control
- Raspberry Pi: Distorted sound in random intervals for some seconds HOT 11
- Static build forRaspberry/OpenELEC 5 possible? HOT 2
- Squeezelite sound output stops after a few hours on Armv5 Pogoplug with Arch HOT 5
- ignore some files in the tree HOT 1
- [PATCH] fedora: need ffmpeg include path HOT 2
- Does squeezelite blocks raspberrypi gpios?
- Squeezelite Win
- Build an RPM package
- Squeezelite v1.8 not working on 4 channel iec958 interface HOT 1
- patches to build on musl libc
- Build number from the main download files - 1.7 or 1.8
- Squeezelite Armv6hf will not pause when sending power 0 command through nc HOT 1
- Synced squeezelite pauses every 35 seconds HOT 1
- OS X - squeezelite asks always for firewall password
- Squeezelite disconnects from mysb.com
- Incorrect sample rate for shoutcast stations combined with resampling and pipe out = wrong playout speed HOT 1
- Core dumped
- A bug in dynamic library loading (Linux version)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.