From nobody@FreeBSD.org  Fri May 24 06:37:27 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id B3BE09B5
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 May 2013 06:37:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id A5DC9FBA
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 May 2013 06:37:27 +0000 (UTC)
Received: from oldred.FreeBSD.org ([127.0.1.6])
	by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4O6bRQs089324
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 May 2013 06:37:27 GMT
	(envelope-from nobody@oldred.FreeBSD.org)
Received: (from nobody@localhost)
	by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4O6bRCH089323;
	Fri, 24 May 2013 06:37:27 GMT
	(envelope-from nobody)
Message-Id: <201305240637.r4O6bRCH089323@oldred.FreeBSD.org>
Date: Fri, 24 May 2013 06:37:27 GMT
From: Green Dog <fiziologus@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [audio/openal-soft] broken after update
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178895
>Category:       ports
>Synopsis:       audio/openal-soft broken after update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 24 06:40:00 UTC 2013
>Closed-Date:    Sun Jun 02 18:10:29 UTC 2013
>Last-Modified:  Sun Jun 02 18:10:29 UTC 2013
>Originator:     Green Dog
>Release:        9.0 i386
>Organization:
>Environment:
>Description:
[audio/openal-soft] 15_1

Broken audio output for OSS (only static sound). testet mplayer, warzone2100
with original patch (from PR178343) openal is work.

in attach: working conf file for openal
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# OpenAL config file. Options that are not under a block or are under the
# [general] block are for general, non-backend-specific options. Blocks may
# appear multiple times, and duplicated options will take the last value
# specified.
# The system-wide settings can be put in /etc/openal/alsoft.conf and user-
# specific override settings in ~/.alsoftrc.
# For Windows, these settings should go into %AppData%\alsoft.ini

# Option and block names are case-insenstive. The supplied values are only
# hints and may not be honored (though generally it'll try to get as close as
# possible). Note: options that are left unset may default to app- or system-
# specified values. These are the current available settings:

## channels:
#  Sets the output channel configuration. If left unspecified, one will try to
#  be detected from the system, and defaulting to stereo. The available values
#  are: mono, stereo, quad, surround51, surround61, surround71
channels = stereo

## sample-type:
#  Sets the output sample type. Currently, all mixing is done with 32-bit float
#  and converted to the output sample type as needed. Available values are:
#  int8    - signed 8-bit int
#  uint8   - unsigned 8-bit int
#  int16   - signed 16-bit int
#  uint16  - unsigned 16-bit int
#  int32   - signed 32-bit int
#  uint32  - unsigned 32-bit int
#  float32 - 32-bit float
#sample-type = int32

## hrtf:
#  Enables HRTF filters. These filters provide for better sound spatialization
#  while using headphones. The default filter will only work when output is
#  44100hz stereo. While HRTF is active, the cf_level option is disabled.
#  Default is disabled since stereo speaker output quality may suffer.
#hrtf = false

## hrtf_tables
#  Specifies a comma-separated list of files containing HRTF data sets. The
#  listed data sets can be used in place of or in addiiton to the the built-in
#  set. The format of the files are described in hrtf.txt.
#hrtf_tables =

## cf_level:
#  Sets the crossfeed level for stereo output. Valid values are:
#  0 - No crossfeed
#  1 - Low crossfeed
#  2 - Middle crossfeed
#  3 - High crossfeed (virtual speakers are closer to itself)
#  4 - Low easy crossfeed
#  5 - Middle easy crossfeed
#  6 - High easy crossfeed
#  Users of headphones may want to try various settings. Has no effect on non-
#  stereo modes.
cf_level = 5

## frequency:
#  Sets the output frequency.
frequency = 44100

## resampler:
#  Selects the resampler used when mixing sources. Valid values are:
#  point - nearest sample, no interpolation
#  linear - extrapolates samples using a linear slope between samples
#  cubic - extrapolates samples using a Catmull-Rom spline
#  Specifying other values will result in using the default (linear).
resampler = cubic

## rt-prio:
#  Sets real-time priority for the mixing thread. Not all drivers may use this
#  (eg. PortAudio) as they already control the priority of the mixing thread.
#  0 and negative values will disable it. Note that this may constitute a
#  security risk since a real-time priority thread can indefinitely block
#  normal-priority threads if it fails to wait. As such, the default is
#  disabled.
#rt-prio = 0

## period_size:
#  Sets the update period size, in frames. This is the number of frames needed
#  for each mixing update. Acceptable values range between 64 and 8192.
#period_size = 1024

## periods:
#  Sets the number of update periods. Higher values create a larger mix ahead,
#  which helps protect against skips when the CPU is under load, but increases
#  the delay between a sound getting mixed and being heard. Acceptable values
#  range between 2 and 16.
#periods = 4

## sources:
#  Sets the maximum number of allocatable sources. Lower values may help for
#  systems with apps that try to play more sounds than the CPU can handle.
sources = 256

## stereodup:
#  Sets whether to duplicate stereo sounds behind the listener. This provides a
#  "fuller" playback quality for surround sound output modes, although each
#  individual speaker will have a slight reduction in volume to compensate for
#  the extra output speakers. True, yes, on, and non-0 values will duplicate
#  stereo sources. 0 and anything else will cause stereo sounds to only play in
#  front. This only has an effect when a suitable output format is used (ie.
#  those that contain side and/or rear speakers).
#stereodup = true

## drivers:
#  Sets the backend driver list order, comma-seperated. Unknown backends and
#  duplicated names are ignored. Unlisted backends won't be considered for use
#  unless the list is ended with a comma (eg. 'oss,' will list OSS first
#  followed by all other available backends, while 'oss' will list OSS only).
#  Backends prepended with - won't be available for use (eg. '-oss,' will allow
#  all available backends except OSS). An empty list means the default.
#drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,opensl,null,wave
drivers = oss

## excludefx:
#  Sets which effects to exclude, preventing apps from using them. This can
#  help for apps that try to use effects which are too CPU intensive for the
#  system to handle. Available effects are: eaxreverb,reverb,echo,modulator,
#  dedicated
excludefx = reverb

## slots:
#  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
#  can use a non-negligible amount of CPU time if an effect is set on it even
#  if no sources are feeding it, so this may help when apps use more than the
#  system can handle.
#slots = 4

## sends:
#  Sets the number of auxiliary sends per source. When not specified (default),
#  it allows the app to request how many it wants. The maximum value currently
#  possible is 4.
#sends =

## layout:
#  Sets the virtual speaker layout. Values are specified in degrees, where 0 is
#  straight in front, negative goes left, and positive goes right. Unspecified
#  speakers will remain at their default positions (which are dependant on the
#  output format). Available speakers are back-left(bl), side-left(sl), front-
#  left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
#  and back-center(bc).
#layout =

## layout_*:
#  Channel-specific layouts may be specified to override the layout option. The
#  same speakers as the layout option are available, and the default settings
#  are shown below.
#layout_stereo     = fl=-90, fr=90
#layout_quad       = fl=-45, fr=45, bl=-135, br=135
#layout_surround51 = fl=-30, fr=30, fc=0, bl=-110, br=110
#layout_surround61 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
#layout_surround71 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150

## default-reverb:
#  A reverb preset that applies by default to all sources on send 0
#  (applications that set their own slots on send 0 will override this).
#  Available presets are: None, Generic, PaddedCell, Room, Bathroom,
#  Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
#  CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
#  Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
default-reverb = CarpetedHallway

## trap-alc-error:
#  Generates a SIGTRAP signal when an ALC device error is generated, on systems
#  that support it. This helps when debugging, while trying to find the cause
#  of a device error. On Windows, a breakpoint exception is generated.
#trap-alc-error = false

## trap-al-error:
#  Generates a SIGTRAP signal when an AL context error is generated, on systems
#  that support it. This helps when debugging, while trying to find the cause
#  of a context error. On Windows, a breakpoint exception is generated.
#trap-al-error = false

##
## Reverb effect stuff (includes EAX reverb)
##
[reverb]

## boost:
#  A global amplification for reverb output, expressed in decibels. The value
#  is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
#  scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
#  value of 0 means no change.
#boost = 0

## emulate-eax:
#  Allows the standard reverb effect to be used in place of EAX reverb. EAX
#  reverb processing is a bit more CPU intensive than standard, so this option
#  allows a simpler effect to be used at the loss of some quality.
#emulate-eax = false

##
## ALSA backend stuff
##
[alsa]

## device:
#  Sets the device name for the default playback device.
#device = default

## device-prefix:
#  Sets the prefix used by the discovered (non-default) playback devices. This
#  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
#  device index for the requested device name.
#device-prefix = plughw:

## device-prefix-*:
#  Card- and device-specific prefixes may be used to override the device-prefix
#  option. The option may specify the card id (eg, device-prefix-NVidia), or
#  the card id and device index (eg, device-prefix-NVidia-0). The card id is
#  case-sensitive.
#defice-prefix- =

## capture:
#  Sets the device name for the default capture device.
#capture = default

## capture-prefix:
#  Sets the prefix used by the discovered (non-default) capture devices. This
#  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
#  device number for the requested device name.
#capture-prefix = plughw:

## capture-prefix-*:
#  Card- and device-specific prefixes may be used to override the
#  capture-prefix option. The option may specify the card id (eg,
#  capture-prefix-NVidia), or the card id and device index (eg,
#  capture-prefix-NVidia-0). The card id is case-sensitive.
#capture-prefix- =

## mmap:
#  Sets whether to try using mmap mode (helps reduce latencies and CPU
#  consumption). If mmap isn't available, it will automatically fall back to
#  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
#  and anything else will force mmap off.
#mmap = true

##
## OSS backend stuff
##
[oss]

## device:
#  Sets the device name for OSS output.
device = /dev/dsp

## capture:
#  Sets the device name for OSS capture.
capture = /dev/dsp

##
## Solaris backend stuff
##
[solaris]

## device:
#  Sets the device name for Solaris output.
#device = /dev/audio

##
## MMDevApi backend stuff
##
[mmdevapi]

##
## DirectSound backend stuff
##
[dsound]

##
## Windows Multimedia backend stuff
##
[winmm]

##
## PortAudio backend stuff
##
[port]

## device:
#  Sets the device index for output. Negative values will use the default as
#  given by PortAudio itself.
#device = -1

## capture:
#  Sets the device index for capture. Negative values will use the default as
#  given by PortAudio itself.
#capture = -1

##
## PulseAudio backend stuff
##
[pulse]

## spawn-server:
#  Attempts to spawn a PulseAudio server when requesting to open a PulseAudio
#  device. Note that some apps may open and probe all enumerated devices on
#  startup, causing a server to spawn even if a PulseAudio device is not
#  actually selected. Setting autospawn to false in Pulse's client.conf will
#  still prevent autospawning even if this is set to true.
#spawn-server = false

##
## Wave File Writer stuff
##
[wave]

## file:
#  Sets the filename of the wave file to write to. An empty name prevents the
#  backend from opening, even when explicitly requested.
#  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
#file =


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mva 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 24 06:40:07 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178895 

From: r4721@tormail.org
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/178895: audio/openal-soft broken after update
Date: Sat, 25 May 2013 22:47:31 -0000

 with openal-soft-1.15.1_1, the audio volume is extremely loud compared to
 before. removing patch-Alc-ALu.c changes back to earlier volume. (no audio
 artifacts were noted before or after patch)
 

From: Kevin Zheng <kevinz5000@gmail.com>
To: bug-followup@FreeBSD.org, fiziologus@gmail.com
Cc:  
Subject: Re: ports/178895: audio/openal-soft broken after update
Date: Sun, 26 May 2013 20:40:42 -0500

 Hi there,
 
 I can confirm that this is an issue for me as well. After installing the
 new openal-soft, I can only hear static from the OSS output. In my case,
 I tested FlightGear, AssaultCube, and SuperTuxKart.
 
 The same problem was reproduced with two different machines with
 different sound cards, below are the contents of /dev/sndstat:
 
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 Installed devices:
 pcm0: <Intel ICH5 (82801EB)> (play/rec) default
 
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 Installed devices:
 pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 pcm4: <Conexant CX20585 (Right Analog)> (play/rec)
 pcm5: <Conexant CX20585 (Internal Analog)> (play/rec) default
 
 In my case, rolling back to the previous version fixed all of the
 applications using openal. I can only confirm that this issue is there;
 I really don't know why. For the time being, is it advisable to roll
 back the latest changes?
 
 Thanks,
 Kevin Zheng

From: green dog <fiziologus@gmail.com>
To: Kevin Zheng <kevinz5000@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/178895: audio/openal-soft broken after update
Date: Mon, 27 May 2013 22:15:40 +0400

 --047d7b10cba5e30ee404ddb722b3
 Content-Type: text/plain; charset=ISO-8859-1
 
 this send to maintainer after PR.
 
 > PR ports/178895
 >
 > patch from upstream and ports is different (aluF2I instead aluF2I25 in
 aluF2S and aluF2B functions). upsteam patch is work.PR ports/178895
 
 
 2013/5/27 Kevin Zheng <kevinz5000@gmail.com>
 
 > Hi there,
 >
 > I can confirm that this is an issue for me as well. After installing the
 > new openal-soft, I can only hear static from the OSS output. In my case,
 > I tested FlightGear, AssaultCube, and SuperTuxKart.
 >
 > The same problem was reproduced with two different machines with
 > different sound cards, below are the contents of /dev/sndstat:
 >
 > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 > Installed devices:
 > pcm0: <Intel ICH5 (82801EB)> (play/rec) default
 >
 > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 > Installed devices:
 > pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 > pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 > pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 > pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 > pcm4: <Conexant CX20585 (Right Analog)> (play/rec)
 > pcm5: <Conexant CX20585 (Internal Analog)> (play/rec) default
 >
 > In my case, rolling back to the previous version fixed all of the
 > applications using openal. I can only confirm that this issue is there;
 > I really don't know why. For the time being, is it advisable to roll
 > back the latest changes?
 >
 > Thanks,
 > Kevin Zheng
 >
 
 
 
 -- 
 sorry for bad english.
 
 --047d7b10cba5e30ee404ddb722b3
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr"><div style>this send to maintainer after PR.</div><div sty=
 le><br></div><div>&gt; PR ports/178895</div><div>&gt;</div><div>&gt; patch =
 from upstream and ports is different (aluF2I instead aluF2I25 in aluF2S and=
  aluF2B functions). upsteam patch is work.PR ports/178895</div>
 <div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2013/5/27 Kev=
 in Zheng <span dir=3D"ltr">&lt;<a href=3D"mailto:kevinz5000@gmail.com" targ=
 et=3D"_blank">kevinz5000@gmail.com</a>&gt;</span><br><blockquote class=3D"g=
 mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
 eft:1ex">
 Hi there,<br>
 <br>
 I can confirm that this is an issue for me as well. After installing the<br=
 >
 new openal-soft, I can only hear static from the OSS output. In my case,<br=
 >
 I tested FlightGear, AssaultCube, and SuperTuxKart.<br>
 <br>
 The same problem was reproduced with two different machines with<br>
 different sound cards, below are the contents of /dev/sndstat:<br>
 <br>
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)<br>
 Installed devices:<br>
 pcm0: &lt;Intel ICH5 (82801EB)&gt; (play/rec) default<br>
 <br>
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)<br>
 Installed devices:<br>
 pcm0: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm1: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm2: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm3: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm4: &lt;Conexant CX20585 (Right Analog)&gt; (play/rec)<br>
 pcm5: &lt;Conexant CX20585 (Internal Analog)&gt; (play/rec) default<br>
 <br>
 In my case, rolling back to the previous version fixed all of the<br>
 applications using openal. I can only confirm that this issue is there;<br>
 I really don&#39;t know why. For the time being, is it advisable to roll<br=
 >
 back the latest changes?<br>
 <br>
 Thanks,<br>
 Kevin Zheng<br>
 </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div dir=3D"=
 ltr">sorry for bad english.</div>
 </div></div>
 
 --047d7b10cba5e30ee404ddb722b3--

From: green dog <fiziologus@gmail.com>
To: Kevin Zheng <kevinz5000@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/178895: audio/openal-soft broken after update
Date: Fri, 31 May 2013 15:54:50 +0400

 --047d7b6d7c5a41371904de024846
 Content-Type: multipart/alternative; boundary=047d7b6d7c5a41371504de024844
 
 --047d7b6d7c5a41371504de024844
 Content-Type: text/plain; charset=ISO-8859-1
 
 in attach original patch (from upsteam).
 whit this patch openal is work.
 
 
 2013/5/27 green dog <fiziologus@gmail.com>
 
 > this send to maintainer after PR.
 >
 > > PR ports/178895
 > >
 > > patch from upstream and ports is different (aluF2I instead aluF2I25 in
 > aluF2S and aluF2B functions). upsteam patch is work.PR ports/178895
 >
 >
 > 2013/5/27 Kevin Zheng <kevinz5000@gmail.com>
 >
 >> Hi there,
 >>
 >> I can confirm that this is an issue for me as well. After installing the
 >> new openal-soft, I can only hear static from the OSS output. In my case,
 >> I tested FlightGear, AssaultCube, and SuperTuxKart.
 >>
 >> The same problem was reproduced with two different machines with
 >> different sound cards, below are the contents of /dev/sndstat:
 >>
 >> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 >> Installed devices:
 >> pcm0: <Intel ICH5 (82801EB)> (play/rec) default
 >>
 >> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 >> Installed devices:
 >> pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 >> pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 >> pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 >> pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
 >> pcm4: <Conexant CX20585 (Right Analog)> (play/rec)
 >> pcm5: <Conexant CX20585 (Internal Analog)> (play/rec) default
 >>
 >> In my case, rolling back to the previous version fixed all of the
 >> applications using openal. I can only confirm that this issue is there;
 >> I really don't know why. For the time being, is it advisable to roll
 >> back the latest changes?
 >>
 >> Thanks,
 >> Kevin Zheng
 >>
 >
 >
 >
 > --
 > sorry for bad english.
 >
 
 
 
 -- 
 sorry for bad english.
 
 --047d7b6d7c5a41371504de024844
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">in attach original patch (from upsteam).<div style>whit th=
 is patch openal is work.</div></div><div class=3D"gmail_extra"><br><br><div=
  class=3D"gmail_quote">2013/5/27 green dog <span dir=3D"ltr">&lt;<a href=3D=
 "mailto:fiziologus@gmail.com" target=3D"_blank">fiziologus@gmail.com</a>&gt=
 ;</span><br>
 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>this send to maintaine=
 r after PR.</div><div><br></div><div>&gt; PR ports/178895</div><div>&gt;</d=
 iv>
 <div>&gt; patch from upstream and ports is different (aluF2I instead aluF2I=
 25 in aluF2S and aluF2B functions). upsteam patch is work.PR ports/178895</=
 div>
 <div class=3D"gmail_extra"><div><div class=3D"h5"><br><br><div class=3D"gma=
 il_quote">2013/5/27 Kevin Zheng <span dir=3D"ltr">&lt;<a href=3D"mailto:kev=
 inz5000@gmail.com" target=3D"_blank">kevinz5000@gmail.com</a>&gt;</span><br=
 ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
 px #ccc solid;padding-left:1ex">
 
 Hi there,<br>
 <br>
 I can confirm that this is an issue for me as well. After installing the<br=
 >
 new openal-soft, I can only hear static from the OSS output. In my case,<br=
 >
 I tested FlightGear, AssaultCube, and SuperTuxKart.<br>
 <br>
 The same problem was reproduced with two different machines with<br>
 different sound cards, below are the contents of /dev/sndstat:<br>
 <br>
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)<br>
 Installed devices:<br>
 pcm0: &lt;Intel ICH5 (82801EB)&gt; (play/rec) default<br>
 <br>
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)<br>
 Installed devices:<br>
 pcm0: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm1: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm2: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm3: &lt;NVIDIA GT21x (HDMI/DP 8ch)&gt; (play)<br>
 pcm4: &lt;Conexant CX20585 (Right Analog)&gt; (play/rec)<br>
 pcm5: &lt;Conexant CX20585 (Internal Analog)&gt; (play/rec) default<br>
 <br>
 In my case, rolling back to the previous version fixed all of the<br>
 applications using openal. I can only confirm that this issue is there;<br>
 I really don&#39;t know why. For the time being, is it advisable to roll<br=
 >
 back the latest changes?<br>
 <br>
 Thanks,<br>
 Kevin Zheng<br>
 </blockquote></div><br><br clear=3D"all"><div><br></div></div></div><span c=
 lass=3D"HOEnZb"><font color=3D"#888888">-- <br><div dir=3D"ltr">sorry for b=
 ad english.</div>
 </font></span></div></div>
 </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div dir=3D"=
 ltr">sorry for bad english.</div>
 </div>
 
 --047d7b6d7c5a41371504de024844--
 --047d7b6d7c5a41371904de024846
 Content-Type: text/x-csrc; charset=US-ASCII; name="patch-Alc-ALu.c"
 Content-Disposition: attachment; filename="patch-Alc-ALu.c"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_hhdbipej0
 
 LS0tIEFsYy9BTHUuYy5vcmlnCTIwMTMtMDUtMjMgMDg6MDA6MDEuMDAwMDAwMDAwICswMjAwCisr
 KyBBbGMvQUx1LmMJMjAxMy0wNS0yMyAwODowMToyMC4wMDAwMDAwMDAgKzAyMDAKQEAgLTkxMiwy
 NCArOTEyLDI3IEBACiB9CiAKIAotc3RhdGljIF9faW5saW5lIEFMZmxvYXQgYWx1RjJGKEFMZmxv
 YXQgdmFsKQoteyByZXR1cm4gdmFsOyB9Ci1zdGF0aWMgX19pbmxpbmUgQUxpbnQgYWx1RjJJKEFM
 ZmxvYXQgdmFsKQorc3RhdGljIF9faW5saW5lIEFMaW50IGFsdUYySTI1KEFMZmxvYXQgdmFsKQog
 ewogICAgIC8qIENsYW1wIHRoZSB2YWx1ZSBiZXR3ZWVuIC0xIGFuZCArMS4gVGhpcyBoYW5kbGVz
 IHRoYXQgd2l0aG91dCBicmFuY2hpbmcuICovCiAgICAgdmFsID0gdmFsKzEuMGYgLSBmYWJzZih2
 YWwtMS4wZik7CiAgICAgdmFsID0gKHZhbC0yLjBmICsgZmFic2YodmFsKzIuMGYpKSAqIDAuMjVm
 OwotICAgIC8qIENvbnZlcnQgdG8gYSBzaWduZWQgaW50ZWdlciwgYmV0d2VlbiAtMjE0NzQ4MzY0
 NyBhbmQgKzIxNDc0ODM2NDcuICovCi0gICAgcmV0dXJuIGZhc3RmMmkoKEFMZmxvYXQpKHZhbCoy
 MTQ3NDgzNjQ3LjApKTsKKyAgICAvKiBDb252ZXJ0IHRvIGEgc2lnbmVkIGludGVnZXIsIGJldHdl
 ZW4gLTE2Nzc3MjE1IGFuZCArMTY3NzcyMTUuICovCisgICAgcmV0dXJuIGZhc3RmMmkodmFsKjE2
 Nzc3MjE1LjBmKTsKIH0KKworc3RhdGljIF9faW5saW5lIEFMZmxvYXQgYWx1RjJGKEFMZmxvYXQg
 dmFsKQoreyByZXR1cm4gdmFsOyB9CitzdGF0aWMgX19pbmxpbmUgQUxpbnQgYWx1RjJJKEFMZmxv
 YXQgdmFsKQoreyByZXR1cm4gYWx1RjJJMjUodmFsKTw8NzsgfQogc3RhdGljIF9faW5saW5lIEFM
 dWludCBhbHVGMlVJKEFMZmxvYXQgdmFsKQogeyByZXR1cm4gYWx1RjJJKHZhbCkrMjE0NzQ4MzY0
 OHU7IH0KIHN0YXRpYyBfX2lubGluZSBBTHNob3J0IGFsdUYyUyhBTGZsb2F0IHZhbCkKLXsgcmV0
 dXJuIGFsdUYySSh2YWwpPj4xNjsgfQoreyByZXR1cm4gYWx1RjJJMjUodmFsKT4+OTsgfQogc3Rh
 dGljIF9faW5saW5lIEFMdXNob3J0IGFsdUYyVVMoQUxmbG9hdCB2YWwpCiB7IHJldHVybiBhbHVG
 MlModmFsKSszMjc2ODsgfQogc3RhdGljIF9faW5saW5lIEFMYnl0ZSBhbHVGMkIoQUxmbG9hdCB2
 YWwpCi17IHJldHVybiBhbHVGMkkodmFsKT4+MjQ7IH0KK3sgcmV0dXJuIGFsdUYySTI1KHZhbCk+
 PjE3OyB9CiBzdGF0aWMgX19pbmxpbmUgQUx1Ynl0ZSBhbHVGMlVCKEFMZmxvYXQgdmFsKQogeyBy
 ZXR1cm4gYWx1RjJCKHZhbCkrMTI4OyB9CiAK
 --047d7b6d7c5a41371904de024846--

From: r4721@tormail.org
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/178895: audio/openal-soft broken after update
Date: Sun, 2 Jun 2013 12:21:22 -0000

 patch #2 fixes the excessive audio volume issue here.
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/178895: commit references a PR
Date: Sun,  2 Jun 2013 18:07:39 +0000 (UTC)

 Author: mva
 Date: Sun Jun  2 18:07:32 2013
 New Revision: 319704
 URL: http://svnweb.freebsd.org/changeset/ports/319704
 
 Log:
   - Fix broken patch from ports/178343, which might lead to broken OSS output
   
   PR:		ports/178895
   Submitted by:	Green Dog <fiziologus@gmail.com>
 
 Modified:
   head/audio/openal-soft/Makefile
   head/audio/openal-soft/files/patch-Alc-ALu.c
 
 Modified: head/audio/openal-soft/Makefile
 ==============================================================================
 --- head/audio/openal-soft/Makefile	Sun Jun  2 18:00:04 2013	(r319703)
 +++ head/audio/openal-soft/Makefile	Sun Jun  2 18:07:32 2013	(r319704)
 @@ -2,7 +2,7 @@
  
  PORTNAME=	openal-soft
  PORTVERSION=	1.15.1
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	audio
  MASTER_SITES=	http://kcat.strangesoft.net/openal-releases/
  
 
 Modified: head/audio/openal-soft/files/patch-Alc-ALu.c
 ==============================================================================
 --- head/audio/openal-soft/files/patch-Alc-ALu.c	Sun Jun  2 18:00:04 2013	(r319703)
 +++ head/audio/openal-soft/files/patch-Alc-ALu.c	Sun Jun  2 18:07:32 2013	(r319704)
 @@ -26,12 +26,12 @@
   { return aluF2I(val)+2147483648u; }
   static __inline ALshort aluF2S(ALfloat val)
  -{ return aluF2I(val)>>16; }
 -+{ return aluF2I(val)>>9; }
 ++{ return aluF2I25(val)>>9; }
   static __inline ALushort aluF2US(ALfloat val)
   { return aluF2S(val)+32768; }
   static __inline ALbyte aluF2B(ALfloat val)
  -{ return aluF2I(val)>>24; }
 -+{ return aluF2I(val)>>17; }
 ++{ return aluF2I25(val)>>17; }
   static __inline ALubyte aluF2UB(ALfloat val)
   { return aluF2B(val)+128; }
   
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: mva 
State-Changed-When: Sun Jun 2 18:10:28 UTC 2013 
State-Changed-Why:  
The correction of the previous patch (ports/178343) has been committed. 
Please let me know, if you still run into any audio issues. Thanks for 
your reports and efforts! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178895 
>Unformatted:
