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

2014-10-22 Thread mailing lists
Hello, I'm not entirely sure about if pulseaudio is the culprit here, but I'm out of ideas and need some advise. Connecting _the_same_usb _sound_card_ to my laptop or to the raspberry makes pulseaudio detect different rate capabilities. Unfortunatelly the raspberry detects the wrong rate (480

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

2014-10-23 Thread mailing lists
, mailing lists wrote: Subject: pulseaudio (V5) incorrect rate detection on usb sound card with raspberry To: pulseaudio-discuss@lists.freedesktop.org Date: Wednesday, October 22, 2014, 1:23 PM Hello, I'm not entirely sure about if pulseaudio is the culprit here, but I'm out of

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

2014-10-28 Thread mailing lists
> I had to put something like > > pcm.!default { > type hw > card 0 > } > > in my /etc/asound.conf in order to get a default rate of 44100. > > Laurentiu it doesn't make any difference, the core problem is that pulseaudio detects diferent capabilities on diferent architectures

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

2014-10-28 Thread mailing lists
>Your usb audio seem support mono, stereo, 8 bits and 16 bits > >and some endpoint support 8000,11025,16000,22025Hz > >Seem like driver bug if you can only use 32000 44100 and 48000Hz The 8000, 11025, 16000 and 22050 values are capture samplerates (see below /proc/asound/card1/stream0 output), fo

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

2014-10-28 Thread mailing lists
Hello Tanu, > I'm not sure if you mentioned this already before (sorry for not > bothering to check), but is the PA version the same between the > machines? If not, then something may have been fixed in PA, but in any > case it seems more likely to me that there was some change in the kernel > dri

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 somewhat-ra

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"

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

2014-10-30 Thread mailing lists
>Sorry for the spam, but you have a very serious smoking gun in your log: I like this type of (instructive) spam ;-) > D: [pulseaudio] alsa-util.c: Plug PCM: Direct Stream Mixing PCM > > PulseAudio must not be running on top of dmix. dmix is the thing that, > by default, uses 48 kHz and does n

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

2014-10-30 Thread mailing lists
> To debug the issue, I need the output of these two commands: > > aplay -vv -d 1 -f cd -D hw:0 /dev/zero > > aplay -vv -d 1 -f cd -D front:0 /dev/zero I'm sorry, here they are: root@rpi:~# aplay -vv -d 1 -f cd -D hw:0 /dev/zero Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 4

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

2014-10-30 Thread mailing lists
> And this is wrong. However, the strace from the previous email did not > find any custom ALSA configuration files that could affect the outcome. > Thus, I conclude that you, or maybe some stupid script that you ran, > modified some file in /usr/share/alsa in a bad way in the past. Please > r

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

2014-10-31 Thread mailing lists
> And this is wrong. However, the strace from the previous email did not > find any custom ALSA configuration files that could affect the outcome. > Thus, I conclude that you, or maybe some stupid script that you ran, > modified some file in /usr/share/alsa in a bad way in the past. Please > r