Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 21:35:42 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        "Ryan R." <freebsd@epicoftimewasted.com>
Cc:        freebsd-current@freebsd.org, freebsd-amd64@freebsd.org
Subject:   Re: Sound/volume control problem
Message-ID:  <20050623213542.001e162d.lehmann@ans-netz.de>
In-Reply-To: <2707.127.0.0.1.1119554458.squirrel@www.epicoftimewasted.com>
References:  <2707.127.0.0.1.1119554458.squirrel@www.epicoftimewasted.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ryan R. wrote:

> Is this a FreeBSD error, or a user error?  Is there anything that I could
> try to fix the problem?  Thanks.

That is a xmms error. In Output/esd/mixer.c and Output/OSS/mixer.c, ioctl
is called with a int declared request argument. Regarding to the ioctl
manpage it has to be long instead of int. On 32bit platforms that doesn't
matter since int has the same size than long has. On 64bit platforms int
and long differs. I made two patches to multimedia/beep-media-player
which are fixing those problems in bmp. They should be easily adoptable
for xmms since bmp is a xmms fork.

for reference:

multimedia/beep-media-player/files/patch-Output-esd-mixer.c
multimedia/beep-media-player/files/patch-Output-OSS-mixer.c

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050623213542.001e162d.lehmann>