Commit graph

202 commits

Author SHA1 Message Date
Takashi Iwai
f8cf6be94c Fix surroundX PCM
From: Julian Scheel <julian@jusst.de>

Hi all,

attached is an updated ICE1724.conf - I have added channels X parameters to
the .pcm.surroundXX-fields, because otherwise it's for example not possible
to play a 5.1-stream on surround51 and a stereo-stream on side simultaneous.
I need this feature to do multiroom-sound through one single sound-card (one
room playing a DVD with 5.1, another room playing some MP3s through channels
7 and 8).
I hope you could follow my explanations and will add this to the tree.

Cheers,
Julian
2005-08-03 13:48:14 +00:00
Clemens Ladisch
a4c7041de5 use PCM interface for IEC958 controls
For consistency, use the PCM interface instead of MIXER for IEC958
default/mask/stream mixer controls.
2005-08-03 12:50:32 +00:00
Clemens Ladisch
a2ad683c05 adjust control references in config files
Adjust the hooked control definitions for the changed interface of
the "IEC958 Playback PCM Stream" control.
2005-08-02 14:18:29 +00:00
Clemens Ladisch
5203c3bfa1 adjust control references in config files
Adjust the hooked control definitions for the changed interface of
"EMU10K1 PCM Send Volume" and "EMU10K1 PCM Send Routing" controls.
2005-08-02 07:59:46 +00:00
Jaroslav Kysela
59a8226184 The simple mixer abstraction - more work
- separated the "base library" from ac97.c (dynamically loaded)
  - added necessary handling of all private structures
  - added selector and sid registration functions and handling code
- added basic code for hda.c (yeah, my notebook has this hw)
2005-07-31 09:08:43 +00:00
Clemens Ladisch
a12f75afb9 fix typo
Fix a typo in the "Swap Surround Slot" value for surround40.
2005-06-27 14:43:12 +00:00
Jaroslav Kysela
4c4849230c initial & empty smixer-ac97.so module (only the build framework) 2005-06-07 11:44:25 +00:00
Jaroslav Kysela
597b4d0942 big simple mixer update
- exported all necessary functions to create a mixer module outside alsa-lib
- separated simple mixer API from the simple mixer implementation
  (using callbacks as usuall)
  - src/mixer/simple.c is the core
  - src/mixer/simple_none.c is the current (no-abstraction) implementation
    based on control names; note that this module does not depend on
    internal ALSA structures now
  - src/mixer/simple_abst.c is the ongoing abstraction which will use
    external dynamic modules; src/conf/smixer.conf will describe which
    modules will be used depending on the components from the driver
2005-06-03 13:33:04 +00:00
Jaroslav Kysela
3a763ae3c5 use ipc_gid for dmix and dsnoop
- added ipc_gid audio
- removed ipc_key_add_uid
2005-05-30 10:16:59 +00:00
James Courtier-Dutton
b0ee34e757 Implement surround71 output for SB Live 24 bit.
Note: Requires updated alsa-kernel as well.
2005-05-21 15:21:04 +00:00
Takashi Iwai
da34d7ec96 Add configuration for AACI driver
Added the PCM configuration for ARM AACI driver.
2005-05-12 13:12:16 +00:00
Takashi Iwai
062df69f00 Make surround config backward compatible
Make hooks for surround config backward compatible with the older drivers
(without "Channel Mode" control).
2005-04-20 14:28:27 +00:00
Takashi Iwai
21e676e383 Add PMac Toonie configuration
Added PMac Toonie configuration.  Using softvol for default.
2005-04-14 14:30:02 +00:00
Takashi Iwai
54ec88bafb Use 'Channel Mode' control
Use 'Channel Mode' control to set the 4/6 channel mode in the config hooks.
2005-04-13 13:35:58 +00:00
Takashi Iwai
38f4e69b0c Remove Azalia.conf
Removed Azalia.conf, using alias to HDA-Intel instead.
2005-04-05 15:21:22 +00:00
Takashi Iwai
586c8872a9 Use dmix/dsnoop as default
Use dmix/dsnoop plugins as default for emu10k1x.
2005-03-29 17:42:40 +00:00
Takashi Iwai
06044933cc Use S16 for default format
Use S16 (endian-dependent) for the default PCM format of dmix/dnsoop
configurations.
2005-03-29 16:35:28 +00:00
Takashi Iwai
6a6a70ffe7 Do hwsync of slave PCM on dmix
Call hwsync of slave PCM on snd_pcm_hwsync() over dmix.
This reduces ocasional output noises, typically seen in xmms and bmp with
multi-threading on SMP/HT systems.

Disabled slowptr of default dmix definition again.
2005-03-29 14:10:16 +00:00
Takashi Iwai
7acb52ed84 Evaluate CARD argument
Evaluate $CARD argument properly even when no card-specific default
PCM is given.
2005-03-24 17:19:05 +00:00
Takashi Iwai
e87851b96f Enable slowptr option as default
Enabled slowptr option as default.
This seems to eliminate the occasional noises on SMP/HT systems (maybe
some race or cache mismatch).
2005-03-24 11:59:18 +00:00
James Courtier-Dutton
e67db18455 Fixes AC3 output on Audigy2 sound cards
This patch adds a DSP patch to fix an spdif_bug on some Audigy2 cards.
It also does detailed identification of the capabilities of the sound
card so that the patch is only applied to the sound cards that really
need it.

Signed-off-by: James Courtier-Dutton
2005-03-24 11:24:31 +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
Jaroslav Kysela
b088e1294b Fix rear/center_lfe subdevice mismatch 2005-03-10 20:03:02 +00:00
Takashi Iwai
acc032b63f Fix SPDIF device
Fixed SPDIF device number.
2005-02-24 10:19:23 +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
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
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
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
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
a00be1418e Add config for HDA-Intel
Add HDA-Intel.conf for snd-hda-intel driver (former snd-azx).
Azalia.conf is kept for backward compatibility.
2005-01-20 15:09:14 +00:00
Takashi Iwai
cf865cc990 Make dmix card-specific
The parameters of dmix PCM definition are now card-specific.
As default, period_size = 1024 and periods = 8 are used.
2005-01-13 15:45:42 +00:00
Takashi Iwai
6ceba8d0e2 Add new config files
Azalia, ES1968 and Maestro3 configs are added.
2005-01-03 17:20:21 +00:00
Takashi Iwai
90f43d1b68 New config for Azalia (intel HD audio) driver
The new config file for Azalia (snd-azx), Intel HD audio driver.
For playback, softvol is applied for codecs without volume controls.
2005-01-03 17:19:53 +00:00
Takashi Iwai
abf5ea1fcc New config for ES1968 and Maestro3
New config files for ES1968 and Maestro3.
They have multi-playback capabilities, so the default shouldn't be dmix.
2005-01-03 17:18:44 +00:00
Takashi Iwai
156eb1228e Use softvol for PCM outputs
Use softvol plugin for codecs without PCM volume controls (e.g. c-media).
The default PCM is redefined to use softvol for playback.
2005-01-03 17:17:43 +00:00
Takashi Iwai
d2a1301073 Make "default" PCM card-specific
"default" PCM can be card-specific.
The definition is moved to pcm/default.conf, and read on-demmand via
aliases.conf.  The card config can override the default config.
2005-01-03 14:42:11 +00:00
Takashi Iwai
73aa2549d9 Add preamble value configuration for iec958 plugin
The preamble values can be defined in iec958 plugin configuration.
As default, Z/Y/X=8/4/2 is used.  CMI8338 has different values,
so override in its configuration.
2004-12-15 15:17:36 +00:00
Takashi Iwai
d06e8bec19 Disable 'duplicate front' switch for rear
The rear PCM needs to disable 'duplicate front' switch.
2004-12-06 19:49:42 +00:00
James Courtier-Dutton
8269dca0dd Rename AudigyLS -> CA0106
Along with the rename of the driver, the config file is renamed to
CA0106, too.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
2004-12-06 15:28:06 +00:00
Takashi Iwai
00fba04f01 Add VIA8237 config
Added the confit file for VIA8237 or later chips.
It reroutes 5.1 output where VIA8233 doesn't need it.
2004-10-18 15:13:17 +00:00
Takashi Iwai
e10aed638e Add ICH4 config file
Added ICH4 config file for the proper support of SPDIF.
2004-09-29 15:48:18 +00:00
Clemens Ladisch
8c4b4ec183 fix driver aliases
fix GUS Max driver name typo;
add aliases for driver names that would make invalid file names
2004-09-22 07:12:59 +00:00
Takashi Iwai
14b41cf29b Addition of VIA82XX-MODEM pcm.
VIA82XX-MODEM pcm definition is added.
It's simply aliased to ICH-MODEM.
2004-09-08 15:02:05 +00:00
Takashi Iwai
8633d96b71 Added config files for Aureon 5.1 and 7.1, Prodigy 7.1 (aliased). 2004-08-24 16:52:01 +00:00
Takashi Iwai
f4da9cd569 Update by James Courtier-Dutton <James@superbug.demon.co.uk>
0.0.12
   Correct interrupt timing. interrupt at end of period,
   instead of in the middle of a playback period.
   Remove redundent "voice" handling.
0.0.13
   Single trigger call for multi channels.
0.0.14
   Set limits based on what the sound card hardware can do.
   playback periods_min=2, periods_max=8
   capture hw constraints require period_size = n * 64 bytes.
   playback hw constraints require period_size = n * 64 bytes.
2004-07-27 16:02:43 +00:00
Takashi Iwai
6627bd5273 Fixed the device number of iec958 for the recent driver change. 2004-07-13 17:32:18 +00:00