ea1abz%gmail.com@localhost (Ramiro Aceves) writes: >I will continue investigating. Now the sample rate seems to be ok but >there will be a reason for no decodes. Perhaps the card samples at 44100 >Hz but NetBSD resamples it to 48000 and "destroys" it in some way? >It does not occur with the internal card because perhaps it works fine >at 480000 and no resamping is needed? The settings of /dev/audioN (or /dev/soundN) are those of a "virtual" device. The output of 'audiocfg list' shows the possible settings of the hardware instead. The data is converted on the fly from and to the "virtual" settings. With 'audioconfig set' you can change the hardware settings (within the limits of what the hardware driver supports). If hardware and "virtual" device have the same settings, there is no conversion done. N.B. when resampling takes place, the conversion has a rather low quality, in particular when the signal hasn't passed a reasonable filter. But I don't know how much that affects your decoder.