Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread mailing lists
Alexander, thank you very much for the detailed explanation. The theory is very simple. It probes at startup whether the configured sample rate and the alternate sample rate (both can be seen in /etc/pulse/daemon.conf) are supported. If none is supported, PulseAudio picks a

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Alexander E. Patrakov
29.10.2014 15:14, mailing lists пишет: Alexander, thank you very much for the detailed explanation. The theory is very simple. It probes at startup whether the configured sample rate and the alternate sample rate (both can be seen in /etc/pulse/daemon.conf) are supported. If none is

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Alexander E. Patrakov
29.10.2014 15:37, Alexander E. Patrakov wrote: 29.10.2014 15:14, mailing lists пишет: Alexander, thank you very much for the detailed explanation. The theory is very simple. It probes at startup whether the configured sample rate and the alternate sample rate (both can be seen in

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Alexander E. Patrakov
29.10.2014 15:37, Alexander E. Patrakov пишет: 29.10.2014 15:14, mailing lists пишет: Alexander, thank you very much for the detailed explanation. The theory is very simple. It probes at startup whether the configured sample rate and the alternate sample rate (both can be seen in

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread mailing lists
Upon reading your log further, I have a better guess. It looks like your sound card supports only 48 kHz for capture, and, while capture is active, also requires playback to be open at 48 kHz. You can work around this limitation by setting the card profile to output:analog-stereo using

[pulseaudio-discuss] Controlling the PulseAudio Read Call back.

2014-10-29 Thread Ibrar Ahmed
I am writing an audio program using PulseAudio. I have registered a call back function to read the data from the mid pa_stream_set_read_callback (stream, RadCB, userdata) The questions are 1 - How to control the occurrence of the ReadCB call back, don't want to much calling of this. 2 - Is

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Raymond Yau
The 8000, 11025, 16000 and 22050 values are capture samplerates (see below /proc/asound/card1/stream0 output), for playback the card support 32000, 44100, 48000. my laptop is running kernel 3.17.1 and the raspberry kernel 3.12.29, which are less than a year apart and both reports the same

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Add support for Headphone+LO and Speaker+LO

2014-10-29 Thread Raymond Yau
These two control names are currently being added to the HDA driver, so let's support them in PulseAudio as well. Signed-off-by: David Henningsson david.hennings...@canonical.com --- src/modules/alsa/mixer/paths/analog-output-headphones.conf | 10 ++