NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54229: audio in firefox stops playing



The following reply was made to PR kern/54229; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/54229: audio in firefox stops playing
Date: Sun, 2 Jun 2019 01:13:56 +0900

 mplayer has the following code in configure:
 
 ---
 if test "$_ossaudio" = yes ; then
   def_ossaudio='#define CONFIG_OSS_AUDIO 1'
   aomodules="oss $aomodules"
   _real_ossaudio=no
   cpp_condition_check "$_soundcard_header" OPEN_SOUND_SYSTEM &&
       _real_ossaudio=yes
   if test "$_real_ossaudio" = yes; then
       def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
   elif netbsd || openbsd ; then
       def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound"'
       extra_ldflags="$extra_ldflags -lossaudio"
   else
       def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
   fi
   def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/mixer"'
 ---
 
 so one possibility is some misunderstanding that
 NetBSD's /dev/sound was equivalent to /dev/dsp on Linux.
 (because /emul/linux/dev/dsp points to /dev/sound?)
  https://mail-index.netbsd.org/netbsd-help/1999/06/26/0000.html
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index