[pulseaudio-discuss] (no subject)

Peter Meerwald pmeerw at pmeerw.net
Tue Jul 24 04:27:49 PDT 2012


I am trying to use the alternate sample rate feature; I have checked that 
my device supports 44k1 and 48k sample rate in hardware (both for capture 
and playback)

when I set primary and alternate sample rate to the same value, 
everything is fine (either 48k or 44k1), however with primary 48k and 44k1 
alternate, the card fails to resume

the command I test is a loopback (just playback or capture works fine):
pacat -r -d alsa_input.platform-soc-audio.analog-stereo | pacat -p -d alsa_output.platform-soc-audio.analog-stereo


D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.platform-soc-audio.analog-stereo is 0x0000, resuming
I: [alsa-sink] alsa-sink.c: Trying resume...
I: [alsa-sink] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
D: [alsa-sink] alsa-util.c: Maximum hw buffer size is 682 ms
D: [alsa-sink] alsa-util.c: Set buffer size first (to 35665 samples), period size second (to 17832 samples).
I: [alsa-sink] alsa-util.c: Device hw:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: [alsa-sink] alsa-util.c: ALSA period wakeups disabled
W: [alsa-sink] alsa-sink.c: Resume failed, couldn't restore original sample settings.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.platform-soc-audio.analog-stereo is 0x0000, resuming
I: [alsa-sink] alsa-sink.c: Trying resume...
I: [alsa-sink] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
D: [alsa-sink] alsa-util.c: Maximum hw buffer size is 682 ms
D: [alsa-sink] alsa-util.c: Set buffer size first (to 35665 samples), period size second (to 17832 samples).
I: [alsa-sink] alsa-util.c: Device hw:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: [alsa-sink] alsa-util.c: ALSA period wakeups disabled
W: [alsa-sink] alsa-sink.c: Resume failed, couldn't restore original sample settings.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.platform-soc-audio.analog-stereo is 0x0000, resuming
I: [alsa-sink] alsa-sink.c: Trying resume...
I: [alsa-sink] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
D: [alsa-sink] alsa-util.c: Maximum hw buffer size is 682 ms
D: [alsa-sink] alsa-util.c: Set buffer size first (to 35665 samples), 
period size second (to 17832 samples).
I: [alsa-sink] alsa-util.c: Device hw:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: [alsa-sink] alsa-util.c: ALSA period wakeups disabled
W: [alsa-sink] alsa-sink.c: Resume failed, couldn't restore original sample settings.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.platform-soc-audio.analog-stereo is 0x0000, resuming
I: [alsa-sink] alsa-sink.c: Trying resume...
I: [alsa-sink] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
D: [alsa-sink] alsa-util.c: Maximum hw buffer size is 682 ms
D: [alsa-sink] alsa-util.c: Set buffer size first (to 35665 samples), period size second (to 17832 samples).
I: [alsa-sink] alsa-util.c: Device hw:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: [alsa-sink] alsa-util.c: ALSA period wakeups disabled
W: [alsa-sink] alsa-sink.c: Resume failed, couldn't restore original sample settings.

the statement that hw:0 doesn't support 44100 Hz is incorrect

I can work around by prohibiting suspend or by forcing to the alternate
rate to be the primary

is this supposed to work?
any ideas how to debug?

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list