Commit graph

262 commits

Author SHA1 Message Date
James Courtier-Dutton
01892b78fa 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
2005-12-13 10:42:32 +00:00
Takashi Iwai
74fcf774da Fix a missing line in PMacToonie.conf
Add a missing line "playback.pcm {" in PMacToonie.conf (bug#1594).
2005-12-02 13:44:13 +00:00
Lee Revell
477325ddfb 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>
2005-09-29 12:32:41 +00:00
Takashi Iwai
841ca34917 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.
2005-09-19 12:40:02 +00:00
Takashi Iwai
dee6f010b7 Use S16_LE as default for dmix
Use S16_LE as default format for dmix, instead of S16.
2005-09-19 12:38:14 +00:00
Mikael Magnusson
148c2b8e7c 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>
2005-09-13 10:36:16 +00:00
Takashi Iwai
7ba8d5c307 Add modem pcm definition for hda-intel driver
Add modem pcm definition for hda-intel driver.
2005-09-12 10:44:53 +00:00
Sasha Khapyorsky
dba82373c6 modem's pcm "two device" config
This defines two modem related pcm devices: "phoneline" is driver's pcm
reference, with "modem" the line will be "Hook-Off"ed automatically.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
2005-09-12 10:37:22 +00:00
Jaroslav Kysela
af6544a274 dmix and dsnoop configuration - added ipc_perm 0660 (to handle all users with audio group) 2005-09-08 06:36:00 +00:00
Takashi Iwai
0eac0a983a Fix configuration for ICE1724
- Fix surround40 channel numbers
- Fix rear/center_lfe channel assignment

This configuration is based on the channel order on Revo 7.1,
Front/CLFE/Surr/Side

If the other ice1724-based boards have a different order, we need
to rename the driver's id to distinguish the difference.
2005-09-02 16:40:40 +00:00
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