aboutsummaryrefslogtreecommitdiff
path: root/include/sound
AgeCommit message (Collapse)AuthorFilesLines
2008-05-30[ALSA] ac97 - Fix ASUS A9T laptop outputTakashi Iwai1-0/+1
ASUS A9T laptop uses line-out pin as the real front-output while other devices use it as the surround. Signed-off-by: Takashi Iwai <[email protected]>
2008-05-13[ALSA] ASoC: build fix for snd_soc_info_bool_extPhilipp Zabel1-1/+1
I suspect that snd_ctl_boolean_mono should have been snd_ctl_boolean_mono_info instead. This fixes the build for magician. Signed-off-by: Philipp Zabel <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2008-04-29[ALSA] Add MPU401_INFO_NO_ACK bitflagTakashi Iwai1-0/+1
Added MPU401_INFO_NO_ACK bitflag to ignore the ACK check for UART commands. VT172x doesn't handle ACK commands, for example. Tested-by: Pavel Hofman <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] Define MPU401 registers in sound/mpu401_uart.hTakashi Iwai1-0/+15
Define some MPU401 registers in sound/mpu401_uart.h so that other drivers can refer to them. Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] sound/core.h: evil #ifdefsPavel Machek1-2/+2
snd_minor_info_oss_* is an function returning int _or_ comment, depending on config parameters. That is truly evil, fix it. Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] fix comments in sound/core.hPavel Machek1-3/+3
Two sentences seem to be spliced into one in comment, fix that and fix english. Also fix codingstyle. Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] some fixes and cleanup for ICE1724 cardsPavel Hofman2-1/+2
* removing the hack with NON_AKM ak4xxx type * support for card-specific flags in ak4114_stats * definition of the flags for corresponding cards Signed-off-by: Pavel Hofman <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] release 1.0.16Takashi Iwai1-2/+2
Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] IEC958 definitions for consumer status channel, byte 4Pawel MOLL1-0/+8
Added definition for byte 4 of SPDIF channel status, according to second edition of IEC 60958-3 (consumer) spec. Signed-off-by: Pawel MOLL <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] Move vmaster code to sound coreTakashi Iwai1-0/+7
Move the codes for virtual master controls to sound core part so that not only hda-intel drivers can use it. Signed-off-by: Takashi Iwai <[email protected]>
2008-04-24[ALSA] intel8x0 - Add support of 8 channel soundTakashi Iwai1-0/+1
Added the support of 8 channel sound for codecs that are known to work. So far, only ALC850 is marked as a 8ch-support codec. This fix is a modified version of the patch on ALSA BTS#2097 by Martin Ellis: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2097 Signed-off-by: Takashi Iwai <[email protected]>
2008-02-22[ALSA] opl3 - Fix compilation without sequencer supportTakashi Iwai1-2/+7
Add proper ifdef's to the patch loading code moved from the old instr layer so that opl3 driver can be compiled without the sequencer support. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-01-31[ALSA] version 1.0.16rc2Jaroslav Kysela1-2/+2
Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] emu10k1: General cleanup, add new locks, fix alsa bug#3501, kernel ↵James Courtier-Dutton1-0/+2
bug#9304. Signed-off-by: James Courtier-Dutton <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] emu10k1 - Use enum for emu_model typesTakashi Iwai1-0/+8
Use enum instead of digits for emu_model types. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] emu10k1 - 1616(M) cardbus improvementsCtirad Fertr1-0/+30
This patch improves E-Mu 1616(M) cardbus support. It adds definitions of the new Microdock and 1010 cardbus registers (thanks again for descriptions James) and improves mixer for this card. Now you can use S/PDIF and ADAT on Mirodock and also use headpohone output on host cardbus card as another independent output. Signed-off-by: Ctirad Fertr <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] snd:emu10k1: E-Mu updates. Fixes to firmware loading and support for ↵James Courtier-Dutton1-1/+1
0404. Signed-off-by: James Courtier-Dutton <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] emu10k1: Add comments regarding E-Mu ins and outs.James Courtier-Dutton1-0/+189
Signed-off-by: James Courtier-Dutton <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] fm801 - Add mute support for FM-only card with FM801 PCI to tuner bridgeAndy Shevchenko1-0/+1
This is improvement of the early support of the FM-only cards where the fm801 chip represents the PCI to tuner bridge. The tuner initialization isn't included the mute on as well as mute support via V4L request. Proposed patch should fix this at least for 64-PCR model. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] PCM interface - rename SNDRV_PCM_TSTAMP_MMAP to SNDRV_PCM_TSTAMP_ENABLEJaroslav Kysela1-2/+2
Change semantics for SNDRV_PCM_TSTAMP_MMAP. Doing timestamping only in the interrupt handler might cause that hw_ptr is not related to actual timestamp. With this change, grab timestamp at every hw_ptr update to have always valid timestamp + ring buffer position pair. With this change, SNDRV_PCM_TSTAMP_MMAP was renamed to SNDRV_PCM_TSTAMP_ENABLE. It's no regression (I think). Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Bump ASoC core version numberMark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] soc - Add support for passing kcontrols with eventsLaim Girdwood1-1/+1
Signed-off-by: Laim Girdwood <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] soc - Ensure PCMs are suspendedLiam Girdwood1-0/+3
This fixes a bug whereby PCMs were not being suspended when the rest of the audio subsystem was suspended. Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] ASoC TLV supportPhilipp Zabel2-14/+68
Add TLV support to ASoC. Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] soc - Add device level DAPM eventLiam Girdwood2-0/+4
Added a device level dapm event so that both the machine and codec are informed when dapm events occur. Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Remove sound/driver.hTakashi Iwai4-59/+19
This header file exists only for some hacks to adapt alsa-driver tree. It's useless for building in the kernel. Let's move a few lines in it to sound/core.h and remove it. With this patch, sound/driver.h isn't removed but has just a single compile warning to include it. This should be really killed in future. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Remove PCM sleep_min and tickTakashi Iwai1-7/+0
The 'tick' in PCM is set (again) via sw_params. And, nobody uses this feature at all except for a command line option of aplay. (This is literally 'nobody', as I checked alsa-lib API calls in all programs in major distros.) Above all, if we need finer wake-ups for the position update, it's basically an issue that the driver should solve, not tuned by each application. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Remove PCM xfer_align sw paramsTakashi Iwai2-2/+1
The xfer_align sw_params parameter has never been used in a sane manner, and no one understands what this does exactly. The current implementation looks also buggy because it allows write of shorter size than xfer_align. So, if you do partial writes, the write isn't actually aligned at all. Removing this parameter will make some pcm_lib_* code more readable (and less buggy). Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Remove indirect control accessTakashi Iwai1-9/+8
This patch removes the indirect control access to the control elements. The indirect access has never been used and is even broken on 32bit ioctl wrapper. Let's clean it up. The pointers still remain in snd_ctl_elem_* structs just to make sure that the struct size won't change. Once after checking the size consistency, we can get rid of them, too. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] include/sound/: Spelling fixesJoe Perches3-3/+3
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] PCM - added back TSTAMP ioctl for PCM (for old alsa-lib binaries)Jaroslav Kysela1-0/+1
Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] info_oss: move prototype of snd_card_info_read_oss to info.hMarcin Ślusarz1-0/+2
info_oss: move prototype of snd_card_info_read_oss to info.h Signed-off-by: Marcin Ślusarz <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Use posix clock monotonic for PCM and timer timestampsJaroslav Kysela2-2/+18
We need an accurate and continuous (monotonic) time sources to do accurate synchronization among more timing sources. This patch allows to enable monotonic timestamps for ALSA PCM devices and enables monotonic timestamps for ALSA timer devices. Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] switching rate in STAC9460 codec of Prodigy192Pavel Hofman1-1/+1
* support for switching rate in STAC9460 - using set_rate_val of the akm infrastructure * listing all STAC9460 registers in proc * disabling mpu401 device for Prodigy192 - otherwise the currently flawed mpu401 code hangs kernel when opening the midi device * removing old unused commented-out code Signed-off-by: Pavel Hofman <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] sound: remove dead config symbol from sound codeJiri Olsa2-7/+0
remove dead config symbols from sound code Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Update SNDRV_HWDEP_IFACE_LASTTakashi Iwai1-1/+1
Updated the forgotten SNDRV_HWDEP_IFACE_LAST to point the really last member. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] opl3 - Fix build errorsTakashi Iwai1-0/+1
I applied a wrong patch for 'opl3 - simplify exclusive access lock'. Fixed now. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] Remove sequencer instrument layerTakashi Iwai8-1341/+2
Remove sequencer instrument layer from the tree. This mechanism hasn't been used much with the actual devices. The only reasonable user was OPL3 loader, and now it was rewritten to use hwdep instead. So, let's remove the rest of rotten codes. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] opl3 - simplify exclusive access lockTakashi Iwai1-2/+0
Use the exclusive access lock in hwdep instead of the own one. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2008-01-31[ALSA] opl3 - Use hwdep for patch loadingTakashi Iwai2-3/+74
Use the hwdep device for loading OPL2/3 patch data instead of the messy sequencer instrument layer. Due to this change, the sbiload program should be updated, too. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2007-11-20[ALSA] version 1.0.15Jaroslav Kysela1-1/+1
Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-23[ALSA] version 1.0.15Jaroslav Kysela1-1/+1
Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] version 1.0.15Jaroslav Kysela1-2/+2
Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] This patch removes open_mutex from the ad1848-lib asKrzysztof Helt1-1/+0
open and close operations are called only from pcm layer and mutexed there with pcm->open_mutex. Signed-off-by: Krzysztof Helt <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] Changed Jaroslav Kysela's e-mail from [email protected] to [email protected]Jaroslav Kysela46-46/+46
Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] mpu-401: remove MPU401_INFO_UART_ONLY flagClemens Ladisch1-1/+0
Since the last patch made the ENTER_UART command optional, the enter_uart option and its corresponding flag have become superfluous. The uart_enter option remains for backward compatibility but just prints a warning when used. Signed-off-by: Clemens Ladisch <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] ac97: YMF743 missing controls support (1/2)Keita Maehara1-3/+3
These patches enable some YMF743 controls (Tone/3D/IEC958) that won't be detected with the current version of ALSA. The first one contains only cosmetic changes to share a few YMF753-specific symbols with YMF743. Signed-off-by: Keita Maehara <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] Routines for effect processor FX8010: Use list_for_each_entryMatthias Kaehlcke1-2/+0
Routines for effect processor FX8010: Use list_for_each_entry instead of list_for_each Signed-off-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] Kill useless volatile in pcm.hTakashi Iwai1-2/+2
The volatile prefix is just useless there. Let's kill them, and then gcc will be happier, too. sound/acore/pcm.c:867: warning: passing argument 1 of ‘__constant_c_and_count_memset’ discards qualifiers from pointer target type Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
2007-10-16[ALSA] Fix 'discards qualifiers' compile warnings in pcm.hTakashi Iwai1-2/+2
Fixed cast messes in pcm.h. include/sound/pcm.h: In function ‘hw_param_interval_c’: include/sound/pcm.h:800: warning: passing argument 1 of ‘hw_param_interval’ discards qualifiers from pointer target type Simply redefine the inline functions again for const pointers. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>