about sample rate converter for arecord

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

 



Hi All
Who can give me some explanation in detail how resample plugin works during arecord. I would like to record a pcm file to 48k samplerate with command line 
arecord  -D plughw:1,0 -c 2 -r 48000 -f s32_le test.pcm
I found pcm is still 96K samplerate instead of 48K,as my source is 96K.
And after some modification in asound.conf using dsnoop but it still makes no difference.

pcm.!my_48000{
type dsnoop           
ipc_key 5778293       
ipc_key_add_uid yes   
slave{                
pcm "hw:1,0"          
format S32_LE      
rate 48000         
}                  
}

Thanks
_______________________________________________
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