OSS and ALSA
Oliver Lehmann
oliver at freebsd.org
Thu Jan 24 06:20:54 UTC 2013
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 <ralf.mardorf at rocketmail.com> 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
More information about the freebsd-questions
mailing list