[Bug 11764] Add support for multi-channel audio

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 6 20:33:41 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=11764

--- Comment #30 from Raymond <superquad.vortex2 at gmail.com> 2011-01-06 20:33:39 CST ---
(In reply to comment #18)
> Thanks Raymond.
> 
> > Doesn't UT3 use OpenAL?
> Just took a look at the OpenAL WikiPedia page, and it does. So does UT2004
> though, but that didn't work.
> 
> I noticed BioShock was on the list, so I tried a BioShock demo I downloaded
> ages ago. It had an option for 5.1... looked promising, but again no success.
> Tried restarting the app, noticed 5.1 was still selected, but still no
> multi-channel. Must be something else that's special about UT3...

you need to setup the parameters in .alsoftrc for those openal games if you are
using openal-soft in linux



## format:
#  Sets the output format. Can be one of:
#  AL_FORMAT_MONO8    (8-bit mono)
#  AL_FORMAT_STEREO8  (8-bit stereo)
#  AL_FORMAT_QUAD8    (8-bit 4-channel)
#  AL_FORMAT_51CHN8   (8-bit 5.1 output)
#  AL_FORMAT_61CHN8   (8-bit 6.1 output)
#  AL_FORMAT_71CHN8   (8-bit 7.1 output)
#  AL_FORMAT_MONO16   (16-bit mono)
#  AL_FORMAT_STEREO16 (16-bit stereo)
#  AL_FORMAT_QUAD16   (16-bit 4-channel)
#  AL_FORMAT_51CHN16  (16-bit 5.1 output)
#  AL_FORMAT_61CHN16  (16-bit 6.1 output)
#  AL_FORMAT_71CHN16  (16-bit 7.1 output)
#  AL_FORMAT_MONO32   (32-bit float mono)
#  AL_FORMAT_STEREO32 (32-bit float stereo)
#  AL_FORMAT_QUAD32   (32-bit float 4-channel)
#  AL_FORMAT_51CHN32  (32-bit float 5.1 output)
#  AL_FORMAT_61CHN32  (32-bit float 6.1 output)
#  AL_FORMAT_71CHN32  (32-bit float 7.1 output)
format = AL_FORMAT_STEREO16


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

## 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).
#  An empty list means the default.
#drivers = alsa,pulse,oss,solaris,dsound,winmm,port,wave
drivers = alsa


## 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 =

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

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

## capture:
#  Sets the device name for the default capture device.
capture = hw:0,0


## 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



##
## 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

## buffer-length:
#  Specifies the PulseAudio buffer length, in sample frames. When set to a
#  non-0 value, it specifies the total buffer length for the playback stream,
#  overriding the period settings. Otherwise it uses the period size and count
#  to calculate a buffer size. PulseAudio, unlike other backends, does not work
#  in period chunks, but instead just has one buffer block which is refilled as
#  it nears empty. Because of this, the usual buffering metrics are unsuitable,
#  with the default 4096 frames being needlessly large.
#buffer-length = 2048

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list