pulseaudio server + sunray audio device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Information for those who whish to use pulseaudio with sunray audio device: 
to stop pulseaudio crashes, apply the following patch to sunray audio 
kernel module, and recompile

--- utadem.c.orig       2007-08-17 17:25:37.000000000 +0400
+++ utadem.c    2007-10-09 12:42:30.000000000 +0400
@@ -971,6 +971,7 @@
        else if (size < (seqlen_sec / 20))
                size = seqlen_sec * 3 / 100;

+       size &= (~3);
        return size;
 }

Without this patch, ioctl(SNDCTL_DSP_GETOSPACE) may return size that is not 
multiply of audio sample size, and single write() operation on dsp device 
may accept data size that is not multiply of audio sample size. That 
confuses pulseaudio oss module badly.

It would be nice if sun people will include this (or other) fix to the 
problem into future releases of SRS software.

Nikita



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux