Bug#462753: libao2: need to clear the final period in alsa driver before closing it.

Morita Sho morita-pub-en-debian at inz.sakura.ne.jp
Fri Jan 29 02:57:42 UTC 2010


Thanks for your replying.

On 01/28/2010 06:00 PM, Monty Montgomery wrote:
> That said, both your example sox command line (with ao) and your bug
> illustration program work properly here; I am not able to reproduce
> your problem on any hardware I have (or on other distros, eg, Ubuntu,
> Fedora or RHEL).  This also suggests a specific buggy ALSA driver or
> libasound version which may have been fixed since.
>
> Is this consistently a problem on other machines / after updates?
> What hardware, driver versions and kernel are you using specifically?
> I'm sure this is an ALSA problem, not a libao problem.

I have tested reproduce_libao_bug.c today, and the problem is still reproducible for me.

Here is the kernel version.
% uname -a
Linux debian 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux

Here is an output of lspci -vv (whole log is attached as named lspci-vv on this mail):
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller
(rev 60)
	Subsystem: ASUSTeK Computer Inc. Asus P5VD1-X (AD1888 codec [SoundMax])
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 22
	Region 0: I/O ports at e000 [size=256]
	Capabilities: [c0] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: VIA 82xx Audio

alsa-info.txt created using alsa-info.sh[1] is also attached.

[1] http://www.alsa-project.org/main/index.php/Help_To_Debug


Additionally, I also tested on other machine using Knoppix.
On this machine below, reproduce_libao_bug.c works properly. No noises at end of the playback.

% uname -a
Linux Microknoppix 2.6.28.4 #8 SMP PREEMPT Mon Feb 9 14:33:28 CET 2009 i686 GNU/Linux

And here is an output of lspci -vv (whole log is attached as named lspci-vv-2nd-machine):
00:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 04)
	Subsystem: Intel Corporation ES1371, ES1373 AudioPCI On Motherboard FJ440ZX
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (3000ns min, 32000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at ef00 [size=64]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: ENS1371
	Kernel modules: snd-ens1371

alsa-info.txt-2nd-machine is also attached.



FYI, the following bug reports might also informative.
- SourceForge.net: SoX - Sound eXchange: Detail: 1720683 - Sox's alsa output plays extra noise at
end of wav files
  http://sourceforge.net/tracker/?func=detail&atid=110706&aid=1720683&group_id=10706

- SourceForge.net: SoX - Sound eXchange: sox-devel

http://sourceforge.net/mailarchive/forum.php?thread_name=47BAB5CB.3070506%40inz.sakura.ne.jp&forum_name=sox-devel


Regards,

-- 
Morita Sho <morita-pub-en-debian at inz.sakura.ne.jp>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lspci-vv
URL: <http://lists.alioth.debian.org/pipermail/pkg-xiph-maint/attachments/20100129/5a53fa9a/attachment-0002.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alsa-info.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-xiph-maint/attachments/20100129/5a53fa9a/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lspci-vv-2nd-machine
URL: <http://lists.alioth.debian.org/pipermail/pkg-xiph-maint/attachments/20100129/5a53fa9a/attachment-0003.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alsa-info.txt-2nd-machine
URL: <http://lists.alioth.debian.org/pipermail/pkg-xiph-maint/attachments/20100129/5a53fa9a/attachment-0003.txt>


More information about the pkg-xiph-maint mailing list