Commit graph

1978 commits

Author SHA1 Message Date
Takashi Iwai
248d0b285c Fix compilation with gcc-4.0
Fixed compilation with gcc-4.0
2005-03-22 18:49:07 +00:00
James Courtier-Dutton
d36e8f20d4 Fix AC3 output on alsa-lib ca0106.conf
This fixes AC3 SPDIF output. It now correctly turns SPDIF OUT on when
using the iec958 device.

Signed-off-by: James Courtier-Dutton
2005-03-21 19:55:16 +00:00
Clemens Ladisch
2570bfc7ad add HPET support
add a wrapper for the HPET driver
2005-03-21 08:17:26 +00:00
Takashi Iwai
231d55e537 Fix a typo
Fix a typo of sostenuto.
The old definition is kept for compatibility.
2005-03-17 16:14:17 +00:00
Takashi Iwai
b0b8957c00 Fix the device-open check
Fixed the device-open check with --disable-aload.
2005-03-16 13:25:25 +00:00
Takashi Iwai
0434c183e3 Added asound_fm.h
Added asound_fm.h to be used from specific apps.
2005-03-16 11:41:02 +00:00
Takashi Iwai
dab2b58e0e Fix resume of dmix, dsnoop and dshare plugins
Fix the resume of dmix, dsnoop and dshare plugins.

[This replaces the timer mode with TREAD mode, and may trigger Oops
 with the older kernel...]
2005-03-15 11:39:51 +00:00
Jaroslav Kysela
4e992e3424 release: 1.0.9rc1 2005-03-13 09:31:24 +00:00
Jaroslav Kysela
b088e1294b Fix rear/center_lfe subdevice mismatch 2005-03-10 20:03:02 +00:00
Clemens Ladisch
e3f57ccc90 rawmidi_virt: fix hang on invalid MIDI data
When writing invalid MIDI data to a virtual rawmidi port,
snd_rawmidi_virtual_write() would forget to remove that data
from the input buffer before continuing, resulting in an
infinite loop.
2005-03-10 10:45:19 +00:00
Takashi Iwai
8003e03b50 Small code clean up
Small code clean up for readability.
2005-03-09 12:00:37 +00:00
Takashi Iwai
9dd4436f29 Fix invalid free
Fixed the invalid free of memory.
2005-03-09 11:59:37 +00:00
Takashi Iwai
73008debc3 Add snd_pcm_parse_control_id()
Added a new function snd_pcm_parse_control_id() for the user controls.
This can be used in external plugins, too.
2005-03-09 11:57:54 +00:00
Takashi Iwai
227441b2c8 More doxygen comments
Added more doxygen comments in pcm_extplug and pcm_ioplug codes.
2005-03-09 11:54:58 +00:00
Jaroslav Kysela
4a34ac6acd Added snd_seq_ev_set_tag() macro 2005-03-03 11:13:00 +00:00
Lee Revell
e34947b1cf move the Jack plugin to alsa-plugins
remove the src/pcm/ext/Makefile.in entry from configure.in, too

Signed-off-by: Lee Revell <rlrevell@joe-job.com>
2005-02-28 08:39:25 +00:00
Clemens Ladisch
85171640fa fix the file plugin
Call snd_pcm_file_hw_params instead of snd_pcm_generic_hw_params
to prevent a crash when the file plugin is used.
2005-02-28 08:25:12 +00:00
Takashi Iwai
809e31561a Initialize structs for ioctls
Initialize the argument structs before calling ioctls to make
valgrind happy.
2005-02-24 20:57:56 +00:00
Takashi Iwai
6f918dfac4 Add a note on FC3
Added a note on installation on FC3.
2005-02-24 10:20:44 +00:00
Takashi Iwai
acc032b63f Fix SPDIF device
Fixed SPDIF device number.
2005-02-24 10:19:23 +00:00
Takashi Iwai
7e5a7fbdbf Remove JACK plugin
Removed JACK plugin.  It's in alsa-plugins now.
2005-02-24 10:16:51 +00:00
Takashi Iwai
970b1450be Fix card type to string
Fixed the card type to string in each config.
Also, removed suprefluous DEV argument in iec958 of some cards.
2005-02-22 20:23:18 +00:00
Takashi Iwai
145f85fff8 Accept string type card
Accept string type card entry to be compatible with others.
2005-02-22 20:21:23 +00:00
Takashi Iwai
5741aec950 Add config file for CMI8768
Added the config file for CMI8768 (showns as CMI8738-MC8).
2005-02-22 20:20:42 +00:00
Takashi Iwai
9835e5c9ce Add Side controls in the weight list
Added the "Side" controls in the weight list.
2005-02-18 18:13:45 +00:00
Takashi Iwai
e9c6bd0be0 Use softvol for default PCM
Use softvol plugin for default PCM (for C-Media codecs)
2005-02-17 15:15:37 +00:00
Mikael Magnusson
6408cdf021 Fixed rear PCM (mono output)
Signed-off-by: Mikael Magnusson <mikaelmagnusson@glocalnet.net>
2005-02-16 11:47:05 +00:00
Takashi Iwai
cf6e569bd7 Code clean-up
Small code clean-up
2005-02-14 15:48:14 +00:00
Takashi Iwai
d8f7de1b16 Support dl-object cache
Added the support of dl-object caches for PCM plugins.
2005-02-14 15:09:09 +00:00
Takashi Iwai
08fc630594 Fix a typo
Fixed a typo in the last change for --enable-resmgr.
2005-02-14 13:52:00 +00:00
Takashi Iwai
5eb794fe0b Add filter-type external plugin SDK
Added the SDK for filter-type PCM plugins.
Share some codes with ioplug.
2005-02-14 13:33:08 +00:00
Takashi Iwai
4ea51d8201 Add --disable-aload configure option
Added --disable-aload configure option to suppress probing of
/dev/aload* files for auto-loading.  These files often conflict with
udev mechanism.

Also, --with-resmgr is changed to --enable-resmgr.
2005-02-14 13:31:53 +00:00
Clemens Ladisch
49c9eba8e4 use "C" locale when parsing floating point numbers
Floating point numbers in configuration files always use "." as separator,
so set the locale temporarily to "C" when calling strtod().
2005-02-14 09:35:06 +00:00
Takashi Iwai
f9b9015245 Fix resmgr support
Call normal open() before trying with res_open_device().
snd_open_device() is defined to do this procedure.
2005-02-11 16:35:24 +00:00
Takashi Iwai
237d46cfb6 Fix compile warnings
Fixed compile warnings with unused variables.
2005-02-09 17:28:08 +00:00
Takashi Iwai
361b8128f1 Fix the parse of filenames with spaces
Fixed the parse of filenames with spaces.
2005-02-09 16:59:10 +00:00
Takashi Iwai
823a925c26 Remove routing of 5.1 output
Removed the routing of 5.1 output.  ICH4 uses the same slot
assignment (3/4/7/8/6/9) like codec chips.
2005-02-09 16:10:41 +00:00
Takashi Iwai
94c4cdcd30 Add external PCM plugin SDK (draft version)
Added the external PCM plugin SDK (draft version).
This can be used to create external PCM plugins.
Example codes are found in alsa-plugins directory.
2005-02-08 20:57:51 +00:00
Takashi Iwai
d7a32ca06b Fix hw_params of lfloat plugin
Fixed the bogus hw_refine call in hw_params of lfloat plugin.
2005-02-08 20:48:39 +00:00
Takashi Iwai
c2644837fd Fix the include path
Fixed the include path.  Apps should include like <alsa/xxx>.
2005-02-08 20:30:15 +00:00
Takashi Iwai
22846c486f Split arch-dependent codes of dmix
Split arch-dependent codes of dmix to separate files.
2005-02-08 20:28:29 +00:00
Clemens Ladisch
c92969845d start pcm when draining in prepared state
For consistency with hw pcms, dmix/dshare pcms are started
when draining in the prepared state with a non-empty buffer.
2005-02-07 09:13:58 +00:00
Takashi Iwai
da5fa1e15c Use bag_for_each_safe() for event handling loop
Use bag_for_each_safe() for event handling loop.
Event callbacks may be destructive.
2005-02-04 19:18:49 +00:00
Takashi Iwai
180f51943e undef gets in case it's a macro
From Thierry Vignaud <tvignaud@mandrakesoft.com>:

from rh: undef gets in case it's a macro (see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141423)
2005-02-01 18:19:31 +00:00
Takashi Iwai
e02c51a199 stack protection (CAN-2005-0087)
From Thierry Vignaud <tvignaud@mandrakesoft.com>:

from rh: stack protection control (see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144518)
2005-02-01 18:18:45 +00:00
Takashi Iwai
1dd2db1367 Add config file for PC-Speaker driver
Added the config file for PC-Speaker driver (use dmix/null as default PCM)
2005-01-31 11:53:46 +00:00
Takashi Iwai
33d9449c71 Use dmix/dsnoop for default PCM
Use dmix/dsnoop plugins for default PCM in most of mobo chips
2005-01-31 11:51:36 +00:00
Takashi Iwai
9309430ae8 Make dsnoop card-specific
Make dsnoop card-specific.  Its definition is moved to pcm/dsnoop.conf.
2005-01-27 15:45:05 +00:00
Takashi Iwai
c9b868889e Fix a typo in default period size
Fixed a typo in the default period size.
2005-01-27 15:44:06 +00:00
Takashi Iwai
77c925a71f Add resmgr support
Added the support for resmgr.  A new configure option --with-resmgr is added
to enable the resmgr support.
2005-01-26 10:50:28 +00:00