[pulseaudio-tickets] [Bug 42956] not able to set 44k sample rate with module-alsa-sink even the hardware supports it
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 16 05:34:44 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=42956
--- Comment #4 from sam.right at gmail.com 2011-11-16 05:34:44 PST ---
The desktop was using an earlier version of kernel 2.6.32. Today I tried aplay
that comes with alsa-utils and it seems to play at 44.1k sample rate just fine
(I had to create the .asoundrc file in the home folder otherwise aplay just
force the sample rate to 48k). The usb sound card is the only sound card
attached to it (card0)
~/.asoundrc file
pcm.dmix_44 {
type dmix
ipc_key 321456 # any unique value
ipc_key_add_uid true
slave {
pcm "hw:0"
format S16_LE
rate 44100
}
}
./aplay -v -Dplug:dmix_44 44100.wav
Playing WAVE '44100.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Direct Stream Mixing PCM
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16539
period_size : 5513
period_time : 125011
tstamp_mode : NONE
period_step : 1
avail_min : 5513
period_event : 0
start_threshold : 16539
stop_threshold : 16539
silence_threshold: 0
silence_size : 0
boundary : 1083899904
Hardware PCM card 0 'USB Audio DAC' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16539
period_size : 5513
period_time : 125011
tstamp_mode : ENABLE
period_step : 1
avail_min : 5513
period_event : 0
start_threshold : 1
stop_threshold : 1083899904
silence_threshold: 0
silence_size : 1083899904
boundary : 1083899904
appl_ptr : 0
hw_ptr : 0
/proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 16539
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the pulseaudio-bugs
mailing list