[pulseaudio-tickets] [Bug 73945] Pulseaudio makes loud buzzing with skype notificaitons

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 23 18:56:20 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73945

--- Comment #4 from Raymond <superquad.vortex2 at gmail.com> ---
/** PCM state */
typedef enum _snd_pcm_state {
      /** Open */
      SND_PCM_STATE_OPEN = 0,
      /** Setup installed */ 
      SND_PCM_STATE_SETUP,
      /** Ready to start */
      SND_PCM_STATE_PREPARED,
      /** Running */
      SND_PCM_STATE_RUNNING,
      /** Stopped: underrun (playback) or overrun (capture) detected */
      SND_PCM_STATE_XRUN,
      /** Draining: running (playback) or stopped (capture) */
      SND_PCM_STATE_DRAINING,
      /** Paused */
      SND_PCM_STATE_PAUSED,
      /** Hardware is suspended */
      SND_PCM_STATE_SUSPENDED,
      /** Hardware is disconnected */
00258       SND_PCM_STATE_DISCONNECTED,
      SND_PCM_STATE_LAST = SND_PCM_STATE_DISCONNECTED
} snd_pcm_state_t;

your log miss the most important part when state change from (2)
SND_PCM_STATE_PREPARED to (3) SND_PCM_STATE_RUNNING

the program alsa-time-test.c set the startthreshold to buffer size, and
snd_pcm_start is only called if you specify capture

the program write data one frame by one frame 

the driver start playing until reach the start threshold (buffer is full)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140124/806829e8/attachment.html>


More information about the pulseaudio-bugs mailing list