Re: Reproducible pops on some hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bryan Ischo wrote:
> If I change *just* the PCM name that I open; e.g. change this line from
> my capture file:
>
> 000668371: 0: 0: snd_pcm_open default 0 0
>
> to this:
>
> 000668371: 0: 0: snd_pcm_open hw:0,0 0 0
>
> ... and change absolutely nothing else, then I don't get any of the pops
> at all.  So the problem is clearly somehow related to the "default" PCM
> device, whatever that is.

See "aplay -D default -v something.wav"; you probably have dmix in there.

> Anyway, what's really weird to me is that *if* I switch my program to
> use hw:0,0 instead of default, then I don't get any pops - but I *do*
> get a different audio anomoly; at the very end of replay of the file, I
> get a very brief burst of whatever audio was last played by a separate,
> unrelated program.

Try padding your data up to the next period boundary.


Regards,
Clemens

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux