2010-11-28, 17:51
if you are interesting how your card do resample 44100 ---> 48000 please download 2 seconds wav file (udial/SB_test) with 44100 sample rate
http://www.megaupload.com/?d=3DPCWFDT
and try to play it
In the best variant you should listen only dialtone, no more.
If you listen some background noise, try to add in advancedsettings.xml the string
If it will not help you can try do resampling with Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio.
http://www.mega-nerd.com/SRC/
in ~./asoundrc
Before this step let's install libsamplerate0 libasound2-plugins packages
You can choose the conversion method - “samplerate_medium”, “samplerate_best”, “samplerate_order” or “samplerate_linear” to choose a different rate converter from libsamplerate. Seems the best variant - just "samplerate"
In xbmc for audio custom device let's write 48k and try to playback again test wav file
You can try also mplayer and aplay
mplayer -ao alsa:device=48k test_44.wav
aplay --device=48k test_44.wav
PS
please don't increase the volume a lot during tests because inside of this file there's sinusoid with 20 Khz and if you will not listen it, may be other people near you can listen it
http://www.megaupload.com/?d=3DPCWFDT
and try to play it
In the best variant you should listen only dialtone, no more.
If you listen some background noise, try to add in advancedsettings.xml the string
Code:
<resample>48000</resample>
If it will not help you can try do resampling with Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio.
http://www.mega-nerd.com/SRC/
in ~./asoundrc
Code:
pcm.48k {
type rate
slave {
pcm "hw:0,0"
rate 48000
}
converter"samplerate"
}
Before this step let's install libsamplerate0 libasound2-plugins packages
You can choose the conversion method - “samplerate_medium”, “samplerate_best”, “samplerate_order” or “samplerate_linear” to choose a different rate converter from libsamplerate. Seems the best variant - just "samplerate"
In xbmc for audio custom device let's write 48k and try to playback again test wav file
You can try also mplayer and aplay
mplayer -ao alsa:device=48k test_44.wav
aplay --device=48k test_44.wav
PS
please don't increase the volume a lot during tests because inside of this file there's sinusoid with 20 Khz and if you will not listen it, may be other people near you can listen it