Setting up simultaneous analog and digital output results in relative lag between the analog and digital outputs on my Nforce2 motherboard with onboard sound. This is using the example provided in the pulseaudio archlinux wiki, here: https://wiki.archlinux.org/index.php/PulseAudio/Examples#Simultaneous_HDMI_and_Analog_Output .. with the following "default.pa" entries: ### Load analog device load-module module-alsa-sink device=hw:0,2 load-module module-combine-sink sink_name=combined set-default-sink combined I can be watching a movie on VLC and a relative delay between analog and digital outputs can develop, so that a sound will come out one set of speakers half a second after they come out the other, making movies unwatchable. A fast way to make the problem occur is to change tracks on Clementine, making use of the crossfade feature, resulting in an element of mixing. The relative lag is non-fixed and sporadic. This problem does not occur using a custom .asoundrc to setup simultaneous digital and analog output using ALSA without Pulseaudio.
post the output of alsa-info. sh are your card like the first example in your url? aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 0/1 Subdevice #0: subdevice #0 the alsaid driver can play stereo to both device 0 and device 1 at the same time when they are belong to same hda codec
*** Bug 88703 has been marked as a duplicate of this bug. ***
*** Bug 87692 has been marked as a duplicate of this bug. ***
Added URL to bug in Launchpad.
http://git.kernel.org/cgit/linux/kernel/git/tiwai/hda-emu.git/plain/codecs/cs4206-macbook-pro-81?id=HEAD it is possiblw that analog output has 13 samples delay but digital output has 4 sample delay for those macbook using cs4206 ode 0x02 [Audio Output] wcaps 0xd041d: Stereo Amp-Out Control: name="Master Playback Switch", index=0, device=0 Control: name="Master Playback Volume", index=0, device=0 Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x73, nsteps=0x7f, stepsize=0x01, mute=1 Amp-Out vals: [0x68 0x68] Converter: stream=0, channel=0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x3]: PCM FLOAT Power states: D0 D3 EPSS Power: setting=D0, actual=D0 Delay: 13 samples ode 0x08 [Audio Output] wcaps 0x40611: Stereo Digital Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Control: name="IEC958 Default PCM Playback Switch", index=0, device=0 Device: name="Cirrus Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x7]: PCM FLOAT AC3 Power states: D0 D3 EPSS Power: setting=D0, actual=D0 Delay: 4 samples
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/151.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.