From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 24 06:20:54 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5C067760 for ; Thu, 24 Jan 2013 06:20:54 +0000 (UTC) (envelope-from oliver@freebsd.org) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with ESMTP id A0D8E8F3 for ; Thu, 24 Jan 2013 06:20:53 +0000 (UTC) Received: (qmail 73952 invoked by uid 80); 24 Jan 2013 06:20:51 -0000 Received: from 164.61.223.12 ([164.61.223.12]) by avocado.salatschuessel.net (Horde Framework) with HTTP; Thu, 24 Jan 2013 07:20:51 +0100 Date: Thu, 24 Jan 2013 07:20:51 +0100 Message-ID: <20130124072051.Horde.5-jY9Ega2QELCXnrw4asqg1@avocado.salatschuessel.net> From: Oliver Lehmann To: Ralf Mardorf Subject: Re: OSS and ALSA References: <50FD4E38.5040305@freebsd.org> <50FD6649.5040509@freebsd.org> <20130121172321.Horde.Ai_h1kd4LLQ_nfhnMFr-qQ1@avocado.salatschuessel.net> <50FD8512.5050609@gmail.com> <20130123221537.Horde.8LiRA0mL-VI5d-S-VYpm5Q8@avocado.salatschuessel.net> In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.0.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Cc: FreeBSD multi , FreeBSD quest , Andriy Gapon X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 06:20:54 -0000 Hi Ralf, the idea was to only comment out BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss not the whole OSS4 block ;) But Ma Ralf Mardorf wrote: > The audacious-plugins on my system were build with NOTIFY, OSS4 and > PULSE disabled, anything else was enabled. > > # cd /usr/ports/multimedia/audacious-plugins ; make deinstall > ===> Deinstalling for multimedia/audacious-plugins > ===> Deinstalling audacious-plugins-3.3.3 > pkg_delete: file '/usr/local/lib/audacious/General/mtp_up.so' doesn't exist > pkg_delete: unable to completely remove directory > '/usr/local/lib/audacious/General' > pkg_delete: unable to completely remove directory > '/usr/local/lib/audacious/Input/amidi-plug' > pkg_delete: unable to completely remove directory > '/usr/local/lib/audacious/Input' > pkg_delete: unable to completely remove directory > '/usr/local/share/doc/audacious-plugins' > pkg_delete: couldn't entirely delete package `audacious-plugins-3.3.3' > (perhaps the packing list is incorrectly specified?) > > # mcedit Makefile > > #.if ${PORT_OPTIONS:MOSS4} > #BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss > #PLIST_SUB+= OSS4PLUGIN="" > #CONFIGURE_ARGS+=--enable-oss4 > #.else > #PLIST_SUB+= OSS4PLUGIN="@comment " > #CONFIGURE_ARGS+=--disable-oss4 > #.endif > > # make install clean > [snip] > ===> Registering installation for audacious-plugins-3.3.3 > ===> Cleaning for audacious-plugins-3.3.3 > > $ audacious > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > ERR: bio2jack.c::releaseDriver(353) lock returned an error > > However, using jackd it does play still ok. > When I switched to SDL output, the sound became louder and muddy, > but it's still ok. > When I switched to OSS4 output, the sound is equal to SDL, perhaps > it does sound different to jackd (using OSS), regarding to the > loudness. > For ALSA the terminal output continued with > > ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for > device /dev/mixer > alsa: snd_mixer_attach failed: Invalid argument. > ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for > device /dev/mixer > > It does "work", but "plays" with chattering gaps, the same effect > when using zynaddsubfx by jackd using OSS, when I chose ADAT, but > now I used the analog IOs only. This effect can differ, sometimes > it's more like noise, for ADAT I experienced the noise like sound > only for this synaddsubfx test. > > alsa: snd_pcm_recover failed: Unknown error: 6144. > alsa: snd_pcm_recover failed: Unknown error: 7168. > alsa: snd_pcm_recover failed: Unknown error: 6144. > alsa: snd_pcm_recover failed: Unknown error: 7168. > alsa: snd_pcm_recover failed: Unknown error: 6144. > alsa: snd_pcm_recover failed: Unknown error: 7168. > alsa: snd_pcm_recover failed: Unknown error: 7168. > alsa: snd_pcm_recover failed: Unknown error: 7168. > alsa: snd_pcm_recover failed: Unknown error: 7168. > alsa: snd_pcm_recover failed: Unknown error: 6144. > alsa: snd_pcm_recover failed: Unknown error: 7168. > > For file writer plugin an error window displays: > "Cannot open /home/musicpd/music/piano2-1.wav: Permission denied." > > Hth, > Ralf