szlop

Results 18 comments of szlop

I stumbled upon similar problems, when I used SoundCard in a real-time application. Whenever the process encounters a buffer underrun, Pulseaudio increases the internal buffer, till the latency exceeds 2...

I also experimented with a try-record function, which instead of waiting returns None, if there are not enough frames in the Pulseaudio buffer: https://github.com/szlop/SoundCard/commit/97993f6cd5afca1fe38a25e0a5bc62b38a04c125 I'm not sure though, if this...

> Thank you for your input, @szlop! I wonder how the try-record function is functionally different from `record(numframes=None)`? The only difference is, that `record(numframes=None)` returns all the frames that are...

Hey bastibe, thanks for your answer. > You need to provide a number of channels to `play(data, channels=XXX)`. By default, your device is opened with all twelve channels. This is...

I guess by channel map you refer to the pulseaudio configuration? Can you hint me to the right direction, I have a hard time making sense of the pulseaudio documentation.

I did some more testing using the binaural virtual surround sink as output device (see https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-virtual-surround-sink). The virtual sink is configured to work as 7.1-channel surround sink (8 channels). I'm...

> This certainly sounds like a bug to me. Regrettably, I currently only have two-channel devices available to me, so I can't test this very well. I wrote a short...

> Anyway, my second child was just delivered in the last few days, so I probably won't be able to investigate for a while. But please feel free to ping...

Soundcard crashes with more than 6 channels, because it asks Pulseaudio for a default channel map using pa_channel_map_init_auto(). Im Pulseaudio default channels maps are not defined for more than 6...

There is a function called pa_channel_map_init_extend() which is supposed to fill the remaining channels (after 5.1) with AUX channels. I tried this function first. I got a valid channel map,...