]> git.alsa-project.org Git - alsa-lib.git/log
alsa-lib.git
19 years agorate plugin: optimize calculation of the continuous buffer part
Clemens Ladisch [Mon, 13 Mar 2006 10:38:51 +0000 (10:38 +0000)]
rate plugin: optimize calculation of the continuous buffer part

When calculating the continuous part till the end of the buffer, we can
use the slave_frames value that has already been calculated by
snd_pcm_mmap_begin().

19 years agoPortability fix for alsa-lib on mips
Takashi Iwai [Fri, 3 Mar 2006 17:51:33 +0000 (17:51 +0000)]
Portability fix for alsa-lib on mips
From: Henryk Plötz <henryk@ploetzli.ch>

I recently had problems building alsa-lib 1.0.10 on mips (for my
Netgear WGT634U). Turned out the problem was in include/alsa-symbols.h
were there was __asm__ code that wouldn't work with the mips assembler.
Attached is a patch that makes this work again.

19 years agoreturn ENODEV for disconnected devices
Clemens Ladisch [Fri, 3 Mar 2006 14:08:58 +0000 (14:08 +0000)]
return ENODEV for disconnected devices

Return -ENODEV instead of -ENOTTY for disconnected devices.

19 years agoFix segfault with PCM rate plugin
Takashi Iwai [Thu, 2 Mar 2006 17:01:58 +0000 (17:01 +0000)]
Fix segfault with PCM rate plugin

Fix segfault with PCM rate plugin (bug#1878)

19 years agoallow changing of device directory path
Clemens Ladisch [Mon, 27 Feb 2006 10:03:19 +0000 (10:03 +0000)]
allow changing of device directory path

Add configuration options to change the default device path from the
default /dev/snd.  This is useful for embedded systems that do not want
subdirectories in /dev.

19 years agofix a typo
Clemens Ladisch [Mon, 27 Feb 2006 09:59:18 +0000 (09:59 +0000)]
fix a typo

Fix a memory leak in an error path of snd_seq_hw_open().

19 years agoremove superfluous free() checks
Clemens Ladisch [Mon, 27 Feb 2006 09:58:32 +0000 (09:58 +0000)]
remove superfluous free() checks

free() correctly handles NULL pointers, so we can omit explicit checks
for that condition.

19 years agoDo not abort in snd_xxx_close() functions
Clemens Ladisch [Mon, 27 Feb 2006 09:54:57 +0000 (09:54 +0000)]
Do not abort in snd_xxx_close() functions

Remove several memory leaks by not aborting prematurely from a
snd_xxx_close() function when some operation fails.
This can happen when a USB device was unplugged.

19 years agoFix infinite loop in snd_pcm_wait()
Takashi Iwai [Mon, 20 Feb 2006 19:34:45 +0000 (19:34 +0000)]
Fix infinite loop in snd_pcm_wait()

Fix possible infinite loop in snd_pcm_wait() with direct plugins
when XRUN occurs during poll.

19 years agoRemove bogus ATTRIBUTE_UNUSED
Takashi Iwai [Mon, 20 Feb 2006 19:33:53 +0000 (19:33 +0000)]
Remove bogus ATTRIBUTE_UNUSED

Removed bogus ATTRIBUTE_UNUSED.

19 years agoFix compile warnings
Takashi Iwai [Mon, 20 Feb 2006 19:33:25 +0000 (19:33 +0000)]
Fix compile warnings

Fix compile warnings on 64bit architectures.

19 years agoAvoid unnecesasry call of resmgr
Takashi Iwai [Mon, 20 Feb 2006 19:32:53 +0000 (19:32 +0000)]
Avoid unnecesasry call of resmgr

Avoid unnecesasry call of resmgr if the device file really doesn't exist.

19 years agoAdd description about non-blocking behavior
Takashi Iwai [Fri, 17 Feb 2006 20:51:12 +0000 (20:51 +0000)]
Add description about non-blocking behavior

Add description about the default non-blocking behavior.

19 years agoFix plug conversion of non-linear formats
Takashi Iwai [Fri, 17 Feb 2006 20:50:45 +0000 (20:50 +0000)]
Fix plug conversion of non-linear formats

Fix plug conversion of non-linear formats with channel or rate conversion.

19 years agoFix fullduplex with dmix/dsnoop
Takashi Iwai [Fri, 17 Feb 2006 20:50:00 +0000 (20:50 +0000)]
Fix fullduplex with dmix/dsnoop

Fixed the fullduplex of dmix and dsnoop plugins due to confliction of
ipc keys.

19 years agoFix check of nonblock option
Takashi Iwai [Fri, 17 Feb 2006 20:49:21 +0000 (20:49 +0000)]
Fix check of nonblock option

Fix the check of nonblock option for all hw layer.
Instead of passing in asound.conf, check the option in snd_pcm_hw_open()
so that the nonblock option is referred in the case of "type hw ..." style
definition, too.

19 years agoFix memory leaks
Takashi Iwai [Thu, 9 Feb 2006 11:37:04 +0000 (11:37 +0000)]
Fix memory leaks

Fixed small memory leaks in the parser.

19 years agoalsa-lib virtual rawmidi device: fixed typo (NONBLOCK mode)
Jaroslav Kysela [Sun, 5 Feb 2006 15:36:21 +0000 (15:36 +0000)]
alsa-lib virtual rawmidi device: fixed typo (NONBLOCK mode)

See bug#1821 for details.

19 years agoFixed snd_pcm_set_params() error code
Jaroslav Kysela [Wed, 1 Feb 2006 06:34:43 +0000 (06:34 +0000)]
Fixed snd_pcm_set_params() error code

19 years agosnd_pcm_set_params() - added workaround for vortex driver
Jaroslav Kysela [Tue, 31 Jan 2006 09:16:05 +0000 (09:16 +0000)]
snd_pcm_set_params() - added workaround for vortex driver

19 years agoFix infinite parse of recursive definitions
Takashi Iwai [Mon, 30 Jan 2006 14:41:51 +0000 (14:41 +0000)]
Fix infinite parse of recursive definitions

Fixed the infinite parse (and eventually segfault) of recursive definitions.
Also fixed the parse of a string slave PCM of direct plugins.

19 years agorelease 1.0.11rc3 v1.0.11rc3
Jaroslav Kysela [Fri, 27 Jan 2006 15:22:16 +0000 (15:22 +0000)]
release 1.0.11rc3
Patch-level: Merged

19 years agoRemove bad assert
Takashi Iwai [Fri, 27 Jan 2006 11:54:06 +0000 (11:54 +0000)]
Remove bad assert
From: Pierre Ossman <drzeus-list@drzeus.cx>

Freeing the global config update structure when it had been created
without any configs present caused an assertion to trigger. Since this
is a valid scenario and the assertion didn't really protect against
anything, it should simply be removed. Attached patch does exactly that.

19 years agopcm_ladspa - setup control outputs all times
Nathan Kurz [Fri, 20 Jan 2006 08:17:49 +0000 (08:17 +0000)]
pcm_ladspa - setup control outputs all times

It turned out that plugins that had control outputs were not being set
up properly if there was no corresponding "output" section.

Signed-off-by: Nathan Kurz <nate@verse.com>
19 years agoLADSPA plugin: fix compilation
Clemens Ladisch [Thu, 19 Jan 2006 08:23:22 +0000 (08:23 +0000)]
LADSPA plugin: fix compilation

Fix a typo in the LADSPA plugin.

19 years agopcm laspa plugin - Added credits to MediaNet AG
Jaroslav Kysela [Mon, 16 Jan 2006 19:01:13 +0000 (19:01 +0000)]
pcm laspa plugin - Added credits to MediaNet AG

19 years agoSupport multi-card/device for direct plugins
Takashi Iwai [Mon, 16 Jan 2006 13:15:32 +0000 (13:15 +0000)]
Support multi-card/device for direct plugins

- Support multi-card/device for dmix/dsnoop/dshare plugins
  The unique ipc key is calculated based on card/device/sub index

- Clean up and share the code among all d* plugins

- Refer the defaults.pcm.* configuration
  The base ipc_key number, ipc_gid and ipc_perm are referred.

19 years agoremove duplicate parameter
Clemens Ladisch [Fri, 13 Jan 2006 15:57:00 +0000 (15:57 +0000)]
remove duplicate parameter

Remove the duplicate SUBDEV argument definition that got accidentally
added in the last patch.

19 years agoSkip resmgr when EAGAIN or EBUSY
Takashi Iwai [Fri, 13 Jan 2006 15:09:40 +0000 (15:09 +0000)]
Skip resmgr when EAGAIN or EBUSY

Skip resmgr when EAGAIN or EBUSY.

19 years agoFix configuration for Aureon and Prodigy71 boards
Takashi Iwai [Fri, 13 Jan 2006 13:52:31 +0000 (13:52 +0000)]
Fix configuration for Aureon and Prodigy71 boards

Fixed the default configuration of Aureon and Prodigy71 boards
to use dmix/dsnoop.  Added a new alias for Prodigy71LT.

19 years agoAdd missing alias entries
Takashi Iwai [Fri, 13 Jan 2006 11:53:08 +0000 (11:53 +0000)]
Add missing alias entries

Added the missing alias entries.

19 years agoAdd "nonblock" option for hw layer
Takashi Iwai [Fri, 13 Jan 2006 11:52:01 +0000 (11:52 +0000)]
Add "nonblock" option for hw layer

Added a new "nonblock" option for hw layer.  This controls the non-blocking
"open" mode as default.

This option is set to TRUE as the default configuration.  If the old behavior
is preferred, set "defaults.pcm.nonblock" to 0 in /etc/asound.conf.

19 years agoFix compile warnings
Takashi Iwai [Tue, 10 Jan 2006 11:03:02 +0000 (11:03 +0000)]
Fix compile warnings

Fix compile warnings about cast signedness.

19 years agopcm_min.c example - corrected comment
Jaroslav Kysela [Tue, 10 Jan 2006 09:58:15 +0000 (09:58 +0000)]
pcm_min.c example - corrected comment

19 years agoFix S24_BE format conversions
Takashi Iwai [Mon, 9 Jan 2006 14:40:08 +0000 (14:40 +0000)]
Fix S24_BE format conversions

Fix S24_BE format conversions by René Rebe <rene@exactcode.de>.

19 years agopcm_min - blocking mode is default - remove extra snd_pcm_nonblock() call
Jaroslav Kysela [Fri, 6 Jan 2006 20:10:04 +0000 (20:10 +0000)]
pcm_min - blocking mode is default - remove extra snd_pcm_nonblock() call

19 years agoAdded pcm_min test & example - minimalistic pcm output
Jaroslav Kysela [Fri, 6 Jan 2006 20:01:08 +0000 (20:01 +0000)]
Added pcm_min test & example - minimalistic pcm output

19 years agoimplementation of pcm simple helper function
Jaroslav Kysela [Fri, 6 Jan 2006 19:59:56 +0000 (19:59 +0000)]
implementation of pcm simple helper function

- snd_pcm_recovery()
- snd_pcm_set_params()
- snd_pcm_get_params()

19 years agosnd_user_file - keep doxygen happy
Jaroslav Kysela [Thu, 5 Jan 2006 14:37:37 +0000 (14:37 +0000)]
snd_user_file - keep doxygen happy

19 years agoMake dmix/dsnoop as default for ICE1712
Takashi Iwai [Wed, 4 Jan 2006 16:05:36 +0000 (16:05 +0000)]
Make dmix/dsnoop as default for ICE1712

Make dmix/dsnoop as default for ICE1712 (bug#1659).

19 years agopcm - fix the buffer allocation for NONINTERLEAVED mmap access
Jaroslav Kysela [Mon, 2 Jan 2006 12:16:59 +0000 (12:16 +0000)]
pcm - fix the buffer allocation for NONINTERLEAVED mmap access

The previous code did not allocated a separate buffer for all channels
when a NONINTERLEAVED access was used. The result was that only one
"shared" buffer was incorrectly allocated.

Also, the code was a bit cleaned (cosmetic change only).

19 years agorelease 1.0.11rc2 v1.0.11rc2
Jaroslav Kysela [Mon, 2 Jan 2006 07:59:52 +0000 (07:59 +0000)]
release 1.0.11rc2
Patch-level: Merged

19 years agoFix meter plugin
Takashi Iwai [Thu, 22 Dec 2005 16:24:27 +0000 (16:24 +0000)]
Fix meter plugin

Fix the wrong mmap with meter plugin.

19 years agodmix: fix interleaved check
Clemens Ladisch [Mon, 19 Dec 2005 07:40:15 +0000 (07:40 +0000)]
dmix: fix interleaved check

When checking that samples are properly interleaved, use the actual
sample size instead of always assuming 16 bits.

19 years agodmix: add S24_3LE support
Clemens Ladisch [Mon, 19 Dec 2005 07:39:03 +0000 (07:39 +0000)]
dmix: add S24_3LE support

Add to the dmix plugin support for the S24_3LE sample format which is
used by 24-bit USB devices.

The optimized assembler version uses only 23 bits for sample data so
that the lowest bit can be used for synchronization because there is no
24-bit cmpxchg instruction.

19 years agosnd-ca0106: update mixer controls names from SPDIF to IEC958
James Courtier-Dutton [Fri, 16 Dec 2005 22:04:10 +0000 (22:04 +0000)]
snd-ca0106: update mixer controls names from SPDIF to IEC958

19 years agoFix compile warnings
Takashi Iwai [Fri, 16 Dec 2005 18:43:49 +0000 (18:43 +0000)]
Fix compile warnings

Fix trivial compile warnings.

19 years agoFix declaration of snd_pcm_ladspa_open()
Takashi Iwai [Wed, 14 Dec 2005 15:35:23 +0000 (15:35 +0000)]
Fix declaration of snd_pcm_ladspa_open()

Fix declaration of snd_pcm_ladspa_open().

19 years agoMake dmix/dsnoop as default PCM for ICE1724
Takashi Iwai [Wed, 14 Dec 2005 13:14:45 +0000 (13:14 +0000)]
Make dmix/dsnoop as default PCM for ICE1724

Make dmix/dsnoop as default PCM for ICE1724.

19 years agoladspa plugin - SIGSEGV fix when label is not specified
Jaroslav Kysela [Tue, 13 Dec 2005 14:25:13 +0000 (14:25 +0000)]
ladspa plugin - SIGSEGV fix when label is not specified

19 years agobig ALSA LADSPA plugin rewrite for multiple channel LADSPA plugins
Jaroslav Kysela [Tue, 13 Dec 2005 14:08:58 +0000 (14:08 +0000)]
big ALSA LADSPA plugin rewrite for multiple channel LADSPA plugins

This is major rewrite of the LADSPA plugin to satisfy requirements for
the LADSPA plugins with multiple audio inputs and / or outputs.

19 years agosnd-ca0106 Fixed SPDIF output.
James Courtier-Dutton [Tue, 13 Dec 2005 10:42:32 +0000 (10:42 +0000)]
snd-ca0106 Fixed SPDIF output.

Example failure error message before fix:

speaker-test 0.0.8

Playback device is spdif
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib setup.c:549:(add_elem) Cannot obtain info for CTL elem (MIXER,'SPDIF Front',0,0,0): No such file or directory
Playback open error: -2,No such file or directory

19 years agorelease 1.0.11rc1 v1.0.11rc1
Jaroslav Kysela [Tue, 13 Dec 2005 07:51:52 +0000 (07:51 +0000)]
release 1.0.11rc1
Patch-level: Merged

19 years agoseq: reorganize sequencer client numbers
Clemens Ladisch [Mon, 12 Dec 2005 09:36:02 +0000 (09:36 +0000)]
seq: reorganize sequencer client numbers

Reduce the maximum possible number of global clients to 16 to make
more numbers available for card clients, and allow dynamically allocated
card client numbers to share the same range as application client
numbers to make sure that all 32 cards can be used at the same time.

19 years agopcm dump() routines update: use spaces to indent texts
Jaroslav Kysela [Sun, 11 Dec 2005 08:24:13 +0000 (08:24 +0000)]
pcm dump() routines update: use spaces to indent texts

19 years agopcm_ladspa plugin - more verbose output
Jaroslav Kysela [Mon, 5 Dec 2005 15:20:28 +0000 (15:20 +0000)]
pcm_ladspa plugin - more verbose output
Added more verbose output for dump() callback inspired with bug#1554 .

19 years agoFixed compilation when HAVE_WORDEXP_H is not defined
Jaroslav Kysela [Mon, 5 Dec 2005 14:27:28 +0000 (14:27 +0000)]
Fixed compilation when HAVE_WORDEXP_H is not defined

19 years agodirect plugins - fixed ipc_gid initialization when gid specified as number
Jaroslav Kysela [Sun, 4 Dec 2005 09:19:11 +0000 (09:19 +0000)]
direct plugins - fixed ipc_gid initialization when gid specified as number

19 years agoFix a missing line in PMacToonie.conf
Takashi Iwai [Fri, 2 Dec 2005 13:44:13 +0000 (13:44 +0000)]
Fix a missing line in PMacToonie.conf

Add a missing line "playback.pcm {" in PMacToonie.conf (bug#1594).

19 years agoFix the handling of stereo capture source
Takashi Iwai [Fri, 2 Dec 2005 13:39:24 +0000 (13:39 +0000)]
Fix the handling of stereo capture source

Patch from bug#1610

The simple mixer doesn't handle the stereo "Capture Source" properly,
wrongly set cswitch-joined.

19 years agoAdd description for new configure options
Takashi Iwai [Wed, 30 Nov 2005 12:07:06 +0000 (12:07 +0000)]
Add description for new configure options

Add description for new configure options.
Also fixed some typos.

19 years agoMinor optimization on mmap
Takashi Iwai [Wed, 30 Nov 2005 11:39:21 +0000 (11:39 +0000)]
Minor optimization on mmap

Minor optimization on mmap.

19 years agoAllow partial build with selected components
Takashi Iwai [Wed, 30 Nov 2005 11:38:24 +0000 (11:38 +0000)]
Allow partial build with selected components

Add --enable-* and --with-pcm-plugins configure options for partial builds.

User can choose the core components (pcm, mixer, rawmidi, hwdep, seq, instr)
via --enable-xxx or --disable-xxx option.  As default, all components are
enabled.

The PCM plugins to build can be selected via --with-pcm-plugins option.
For example, to build only rate and linear plugin, pass
  --with-pcm-plugins=rate,linear
Passing "all" will select all plugins (it's the default value).

The plug plugin will select linear and copy plugins automatically.
The other auto conversions of plug plugin are enabled only when the
corresponding plugin is selected.

19 years agoMove snd_is_local() to socket.c
Takashi Iwai [Wed, 30 Nov 2005 11:31:18 +0000 (11:31 +0000)]
Move snd_is_local() to socket.c

Move snd_is_local() to socket.c since it's used in control_shm, too.

19 years agoAdd a workaround for systems without wordexp
Takashi Iwai [Tue, 29 Nov 2005 15:25:56 +0000 (15:25 +0000)]
Add a workaround for systems without wordexp

Add a workaround for systems without wordexp (e.g. ulibc).

19 years agoUse snd_user_file() in pcm_ladpsa.c
Takashi Iwai [Tue, 29 Nov 2005 15:20:07 +0000 (15:20 +0000)]
Use snd_user_file() in pcm_ladpsa.c

Use snd_user_file() in pcm_ladpsa.c to get rid of wordexp.

19 years agoCheck wordexp.h for ulibc
Takashi Iwai [Tue, 29 Nov 2005 15:18:56 +0000 (15:18 +0000)]
Check wordexp.h for ulibc

Check wordexp.h for ulibc.

19 years agoRemove superfluous wordexp.h inclusion
Jaroslav Kysela [Mon, 28 Nov 2005 12:02:55 +0000 (12:02 +0000)]
Remove superfluous wordexp.h inclusion

19 years agoFix segfault of iec958 plugin with preamble
Takashi Iwai [Wed, 23 Nov 2005 16:46:39 +0000 (16:46 +0000)]
Fix segfault of iec958 plugin with preamble

Fix segfault of iec958 plugin with preamble (bug#1571).

19 years agoRemove code from check_PROGRAMS
Takashi Iwai [Wed, 23 Nov 2005 16:35:56 +0000 (16:35 +0000)]
Remove code from check_PROGRAMS

Remove code from check_PROGRAMS (bug#1579).

19 years agoAbort from snd_pcm_dshare_drain in XRUN state
Takashi Iwai [Mon, 21 Nov 2005 10:51:43 +0000 (10:51 +0000)]
Abort from snd_pcm_dshare_drain in XRUN state

Fixed the hang-up in snd_pcm_dshare_drain() when the state is XRUN.

19 years agoFix compile errors/warnings
Takashi Iwai [Mon, 21 Nov 2005 10:48:52 +0000 (10:48 +0000)]
Fix compile errors/warnings

Fix compile errors/warnings.
omixer is removed since ordinary_mixer isn't supported any more.

19 years agoabort snd_pcm_dmix_drain when state is SND_PCM_STATE_XRU
Takashi Iwai [Mon, 21 Nov 2005 10:47:42 +0000 (10:47 +0000)]
abort snd_pcm_dmix_drain when state is SND_PCM_STATE_XRU
From: Sascha Sommer <saschasommer@freenet.de>

this is a fix for bug 0001559.
Unlike my first guesses the real problem is not in the kernel driver but in
alsa-lib. Whenever the current dmix status is xrun and snd_pcm_dmix_drain
gets called the process will hang forever in the poll function. The reason is
that poll gets called even though the timer already stopped.
As described in the bugtracking system this bug was not noticable with alsa
versions that used the old IOCTLS because the SNDRV_TIMER_IOCTL_STOP ioctl
never reached the timer kernel module.

Attached patch fixes this problem for alsa-lib 1.0.10 by simply calling
snd_pcm_dmix_drop when snd_pcm_dmix_drain gets called in the state
SND_PCM_STATE_XRUN.

19 years agofix compilation with gcc 2
Clemens Ladisch [Sun, 20 Nov 2005 14:11:09 +0000 (14:11 +0000)]
fix compilation with gcc 2

Fix compilation with gcc 2.* by removing a superfluous variable definition.

19 years agoremove SND_SEQ_CLIENT_{DUMMY,OSS} symbols
Clemens Ladisch [Sun, 20 Nov 2005 14:09:45 +0000 (14:09 +0000)]
remove SND_SEQ_CLIENT_{DUMMY,OSS} symbols

The SND_SEQ_CLIENT_{DUMMY,OSS} are private to the kernel and should
never have been put into the public API header.

19 years agoFix free of uninitialized pointer
Takashi Iwai [Fri, 18 Nov 2005 16:01:39 +0000 (16:01 +0000)]
Fix free of uninitialized pointer

Fix free of uninitialized pointer (bug#1576).

19 years agoFix generation of IEC958 subframes
Takashi Iwai [Thu, 17 Nov 2005 12:08:32 +0000 (12:08 +0000)]
Fix generation of IEC958 subframes
From: Nicolas Boullis <nboullis@debian.org>

While working on an ALSA driver for the audio part of em8300-based MPEG
decoder boards (Sigma Designs' Hollywood+ boards and Creative Labs' DXR3
boards), I think I discovered a bug in the code that generates IEC958
subframes from linear samples (iec958 plugin): M and W preambles are
swapped, and B preambles should only be used on even subframes. The
attached patch fixes this issue.

19 years agorelease 1.0.10 v1.0.10
Jaroslav Kysela [Tue, 15 Nov 2005 13:44:27 +0000 (13:44 +0000)]
release 1.0.10
Patch-level: Merged

19 years agocontrol - fixed crash when dynamic library is not present
Jaroslav Kysela [Mon, 14 Nov 2005 10:18:22 +0000 (10:18 +0000)]
control - fixed crash when dynamic library is not present
See bug#1544.

19 years agopcm_ladspa - fix locale issues
Jaroslav Kysela [Mon, 14 Nov 2005 09:50:29 +0000 (09:50 +0000)]
pcm_ladspa - fix locale issues
See bug#1553 for more details.

19 years agorelease 1.0.10rc3 v1.0.10rc3
Jaroslav Kysela [Fri, 4 Nov 2005 10:19:03 +0000 (10:19 +0000)]
release 1.0.10rc3
Patch-level: Merged

19 years agodirect pcm plugins - fixed dump output name for dshare and dsnoop
Jaroslav Kysela [Tue, 1 Nov 2005 13:35:52 +0000 (13:35 +0000)]
direct pcm plugins - fixed dump output name for dshare and dsnoop

19 years agoFix channel_info callback of plugins
Takashi Iwai [Thu, 27 Oct 2005 16:58:40 +0000 (16:58 +0000)]
Fix channel_info callback of plugins

Fixed channel_info callback of plugins with different src/dest sizes.

19 years agofile plugin: fix various bugs
Clemens Ladisch [Mon, 17 Oct 2005 16:10:16 +0000 (16:10 +0000)]
file plugin: fix various bugs

Initialize wbuf_used_bytes, adjust appl_ptr in the rewind and forward
callbacks, and adjust the offset when a data block straddles the
boundary of the wbuf buffer.

19 years agofix doxygen warnings
Clemens Ladisch [Wed, 12 Oct 2005 16:08:53 +0000 (16:08 +0000)]
fix doxygen warnings

Fix some wrong parameter names, hide some undocumented functions, and
correctly escape <> characters.

19 years agoFix mmap and channel_info of hook plugin
Takashi Iwai [Mon, 10 Oct 2005 15:17:58 +0000 (15:17 +0000)]
Fix mmap and channel_info of hook plugin

Fix mmap and channel_info of hook plugin.
mmap_shadow must be set for this plugin to work.

19 years agorelease 1.0.10rc2 v1.0.10rc2
Jaroslav Kysela [Mon, 10 Oct 2005 12:49:51 +0000 (12:49 +0000)]
release 1.0.10rc2
Patch-level: Merged

19 years agoFix type-punning
Takashi Iwai [Thu, 29 Sep 2005 19:11:50 +0000 (19:11 +0000)]
Fix type-punning

Fixed compile warnings on the latest gcc about type-punning.
Removed unnecessary casts.

19 years agouse dmix/dsnoop for default PCM on ca0106
Lee Revell [Thu, 29 Sep 2005 12:32:41 +0000 (12:32 +0000)]
use dmix/dsnoop for default PCM on ca0106

This chipset lacks hardware mixing so needs to use dmix/dsnoop by
default.

Signed-off-by: Lee Revell <rlrevell@joe-job.com>
19 years agoNew @func - pcm_args_by_class
Sasha Khapyorsky [Thu, 29 Sep 2005 11:46:59 +0000 (11:46 +0000)]
New @func - pcm_args_by_class

New 'pcm_args_by_class' @func available for using in configuration files.
Returns card, device args list formatted as "CARD=N,DEV=M" by specified
pcm class and index.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
19 years agofixed typo in comment
Jaroslav Kysela [Wed, 21 Sep 2005 08:24:31 +0000 (08:24 +0000)]
fixed typo in comment

19 years agoPCM add missing pcm types - DSNOOP, IEC958, IOPLUG, EXTPLUG
Jaroslav Kysela [Wed, 21 Sep 2005 08:23:28 +0000 (08:23 +0000)]
PCM add missing pcm types - DSNOOP, IEC958, IOPLUG, EXTPLUG

19 years agopcm - Add SOFTVOL pcm type
Jaroslav Kysela [Wed, 21 Sep 2005 08:20:18 +0000 (08:20 +0000)]
pcm - Add SOFTVOL pcm type

19 years agoFix endianess of PMac driver
Takashi Iwai [Mon, 19 Sep 2005 12:40:02 +0000 (12:40 +0000)]
Fix endianess of PMac driver

Fix endianess of PMac driver for the latest change of dmix.
Now need to specify the (big-endian) format explicitly.

19 years agoUse S16_LE as default for dmix
Takashi Iwai [Mon, 19 Sep 2005 12:38:14 +0000 (12:38 +0000)]
Use S16_LE as default for dmix

Use S16_LE as default format for dmix, instead of S16.

19 years agoFix endianess with dmix plugin
Takashi Iwai [Mon, 19 Sep 2005 12:37:08 +0000 (12:37 +0000)]
Fix endianess with dmix plugin

Allow different endianess with the generic dmix code, mainly for
big-endian architectures.

19 years agoemu10k1: Front channels via fxbus 8 and 9
Mikael Magnusson [Tue, 13 Sep 2005 10:36:16 +0000 (10:36 +0000)]
emu10k1: Front channels via fxbus 8 and 9

Routes front channels via fxbus 8 and 9 instead of fxbus 0 and 1. This
makes the front and default devices independent of each other, and
"Wave Surround", "Wave Center" and "Wave LFE" don't have to be muted
during 5.1 playback.

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
19 years agoRemoved unused function
Takashi Iwai [Mon, 12 Sep 2005 17:50:57 +0000 (17:50 +0000)]
Removed unused function

Clean up: Removed unused function.

19 years agoDon't return error if chown() fails
Takashi Iwai [Mon, 12 Sep 2005 17:50:16 +0000 (17:50 +0000)]
Don't return error if chown() fails

Don't take serious even if chown() fails in the creation of direct server.
It happens if a user doesn't belong to the group specified in the config.

19 years agoAdd modem pcm definition for hda-intel driver
Takashi Iwai [Mon, 12 Sep 2005 10:44:53 +0000 (10:44 +0000)]
Add modem pcm definition for hda-intel driver

Add modem pcm definition for hda-intel driver.