Re: [Musicpd-dev-team] AlsaInputPlugin

2014-01-08 Thread Steven OBrien
I'm having a real struggle with this yahoo email client. What my previous message said was: The high CPU load in the Alsa input plugin was caused by a mistake in the alsa software parameters configuration. Clearly I misunderstood what this particular setting was for. The attached patch simply

Re: [Musicpd-dev-team] AlsaInputPlugin

2014-01-08 Thread Max Kellermann
On 2014/01/08 14:10, Steven OBrien steven_obri...@yahoo.co.uk wrote: The high CPU load in the Alsa input plugin was caused by a mistake in the alsa software parameters configuration. Clearly I misunderstood what this particular setting was for. The attached patch simply removes the setting of

Re: [Musicpd-dev-team] AlsaInputPlugin

2014-01-07 Thread Max Kellermann
On 2014/01/07 13:59, Steven OBrien steven_obri...@yahoo.co.uk wrote: Since my last update, I've been thinking that the alsa poll is really just a timer, it fires every time a fixed number of frames have been written to its internal buffer, and as a real-time stream this equates to a fixed

Re: [Musicpd-dev-team] AlsaInputPlugin

2014-01-07 Thread j rocket
Steven,  I dont know if this is any help to you but heres a link to a website with c++ code that explains audio passthru..  One of the statements in the code example says this If SND_PCM_NONBLOCK is used, read / write access to the    */     /* PCM device will return immediately. If SND_PCM_ASYNC