Re: Higher quality dmix resampling

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

 



>> I get a lot of static-like noise when dmix resamples audio with a USB
>> DAC I'm trying out.  When I have mpd resample internally with
>> libsamplerate, it sounds perfect.  Can I get dmix to use libsamplerate
>> or disable dmix?  One of the main programs I use with audio is miro
>> which doesn't allow you to specify an audio ouput device.
>>
>> I tried this in /etc/asound.conf to disable dmix:
>>
>> pcm.!default {
>> type hw
>> card 0
>> }
>> ctl.!default {
>> type hw
>> card 0
>> }
>
> You don't need this, but ...
>
>> and tested with mplayer but that yielded no sound at all.  I also tried this:
>>
>> defaults.pcm.rate_converter "samplerate"
>
> Add just this one.
>
> BTW, did you install alsa-plugins-pph or so?
> It's a resampler from speex, and it's usually much faster and good
> enough.
>
>
> Takashi

I've installed the alsa-plugins package on Gentoo which includes speex
and libsamplerate and rebooted, but I can't seem to set
defaults.pcm.rate_converter.  My /etc/asound.conf file only contains
that line and I don't have an .asoundrc.  Even with:

defaults.pcm.rate_converter "samplerate_best"

I still get static and my CPU is idle.  When I use samplerate_best in
mpd my CPU is maxed.  I've also tried samplerate, samplerate_medium,
speex, and speex-float-3.  Do you know why this setting isn't taking
affect?

- Grant

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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