Comments (4)
Nevermind, fixed it myself. Rearranged some things and added if (soundcount > 0).
from cpiped.
Can you share the diff of the fix please
from cpiped.
Can you share the diff of the fix please
Yes, new to github and havenโt coded in 20 years but will share code once I figure that out. If you want to try it yourself I basically separated the tasks of reading and writing and put the writing tasks inside of an if>then statement controlled by the soundcount variable.
from cpiped.
Dirty fix would be changing line 368 to:
if (!fillbuf && !silent) {
Also would be nice to mute printf, for this period of silence. I'm not sure if there is need to do anything else in terms of rearranging the code.
from cpiped.
Related Issues (16)
- Minor Skips when sending through forked-daapd HOT 3
- installation and set up with forked-daapd HOT 9
- Sudden Extremely Loud Static from Cpiped
- Support for single channel
- Speech_recognition to access microphone to get many warnings like HOT 2
- Sound skipping HOT 11
- buffer overrun HOT 3
- Slowed down playback HOT 2
- Installation HOT 1
- Cannot compile in ubuntu 16.10 32 bits HOT 5
- create release tag HOT 2
- Use card via card number HOT 3
- Allow for parameters in silence and start commands HOT 5
- buffer issues HOT 6
- ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave HOT 7
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 cpiped.