Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 17:02:28 -0500
From:      "Mike S." <perlfu@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Vchan/Sound/patch hard locks...
Message-ID:  <20050914170228.328c571e.perlfu@gmail.com>

next in thread | raw e-mail | index | archive | help
    I've been having hard locks that are seeming related to vchans.  I can't manage to verify this with the logs, but judging by the fact that the locks only occur when two sounds are played together, and only some of the time at that.  I'm going to guess that's the issue.  Either way, I've been trying to use the patch found at, http://staff.mybsd.org.my/skywizard/FreeBSD/sound/incoming/, it's helped some, but hasn't entirely fixed the problem.  When I tried to upgrade the patch to the newest version, I got this error..

/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: In function `ac97_fix_volume':
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:571: error: `SD_F_SOFTVOL' undeclared (first use in this function)
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:571: error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:571: error: for each function it appears in.)
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: At top level:
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:576: error: redefinition of 'ac97_fix_volume'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:544: error: previous definition of 'ac97_fix_volume' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: In function `ac97_fix_volume':
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:603: error: `SD_F_SOFTVOL' undeclared (first use in this function)
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: In function `ac97_initmixer':
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:631: warning: unused variable `bit'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:633: warning: unused variable `reg'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: At top level:
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:544: warning: 'ac97_fix_volume' defined but not used
*** Error code 1

Stop in /usr/src/sys/modules/sound/sound.
*** Error code 1

Stop in /usr/src/sys/modules/sound.

    Also, my sound card is a VIA 8233.  Any insight, or suggestions regarding how to fix the locks, and or get the patch working would be greatly appreciated.  Thanks in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050914170228.328c571e.perlfu>