Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 23:17:50 +0100
From:      "Ralf Mardorf" <ralf.mardorf@rocketmail.com>
To:        "David Demelier" <demelier.david@gmail.com>, "Oliver Lehmann" <oliver@freebsd.org>
Cc:        FreeBSD multi <freebsd-multimedia@freebsd.org>, FreeBSD quest <freebsd-questions@freebsd.org>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: OSS and ALSA
Message-ID:  <op.wrdxj0wvuwjkcr@freebsd>
In-Reply-To: <20130123221537.Horde.8LiRA0mL-VI5d-S-VYpm5Q8@avocado.salatschuessel.net>
References:  <op.wq9bwjmruwjkcr@freebsd> <CAO%2BPfDfnGnxxxmRFJ=R75-jrYi2wOtJ0onGS6PJwhxrjWemtPQ@mail.gmail.com> <CAO%2BPfDeZ9MopA32BfUoq9i9PBgJK_s=sP0ctN=yZGkBA-OTERA@mail.gmail.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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






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