[kde-freebsd] ports/133078: [PATCH] kmix (multimedia/kdemultimedia4) incorrectly binds to mixer devices
Emil Smolenski
am at raisa.eu.org
Fri Apr 3 03:40:04 CEST 2009
The following reply was made to PR ports/133078; it has been noted by GNATS.
From: "Emil Smolenski" <am at raisa.eu.org>
To: "Max Brazhnikov" <makc at issp.ac.ru>, bug-followup at freebsd.org
Cc:
Subject: Re: ports/133078: [PATCH] kmix (multimedia/kdemultimedia4)
incorrectly binds to mixer devices
Date: Fri, 03 Apr 2009 03:15:39 +0200
On Thu, 02 Apr 2009 11:31:41 +0200, Max Brazhnikov <makc at issp.ac.ru> wrote:
Hi,
> Looks it's not FreeBSD specific, shouldn't this go directly upstream?
Maybe.
I'm sure it is OSS specific. I know nothing about mixers in other
OSS-based systems. Perhaps in other systems /dev/mixer is always
/dev/mixer0. If somewhere there is /dev/mixer _instead_ of /dev/mixer0
(there is no /dev/mixer0 device), this patch would broke these systems.
If such systems don't exist, I don't see any reason to bind to /dev/mixer
instead of /dev/mixer0 directly[1] (and it should go upstream).
[1]:
case 0:
return QString("/dev/mixer");
break;
default:
QString devname("/dev/mixer");
devname += ('0'+devnum);
return devname;
--
am
More information about the kde-freebsd
mailing list