History log of /include/sound/asound.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8d448162bda5ae3b5ecb26fe50c8fbbeae99faa4 07-Oct-2011 Clemens Ladisch <clemens@ladisch.de> ALSA: control: add support for ENUMERATED user space controls

Handling of user control elements was implemented for all types except
ENUMERATED. This type will be needed for the device-specific mixers of
upcoming FireWire drivers.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
ab69a4904b5dd4d7cd6996587ba066bca8d13838 15-Nov-2010 Clemens Ladisch <clemens@ladisch.de> ALSA: pcm: support for period wakeup disabling

This patch allows to disable period interrupts which are
not needed when the application relies on a system timer
to wake-up and refill the ring buffer. The behavior of
the driver is left unchanged, and interrupts are only
disabled if the application requests this configuration.
The behavior in case of underruns is slightly different,
instead of being detected during the period interrupts the
underruns are detected when the application calls
snd_pcm_update_avail, which in turns forces a refresh of the
hw pointer and shows the buffer is empty.

More specifically this patch makes a lot of sense when
PulseAudio relies on timer-based scheduling to access audio
devices such as HDAudio or Intel SST. Disabling interrupts
removes two unwanted wake-ups due to period elapsed events
in low-power playback modes. It also simplifies PulseAudio
voice modules used for speech calls.

To quote Lennart "This patch looks very interesting and
desirable. This is something have long been waiting for."

Support for this in hardware drivers is optional.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
15c0cee6c809a137e0fc7f1d2b0867cc03473c0c 28-May-2010 Ben Collins <bcollins@bluecherry.net> ALSA: pcm: Define G723 3-bit and 5-bit formats

This defines the 24bps and 40bps (8khz sample rate) G.723 codec
formats. They are going to be used once I submit the driver for
an mpeg4/g723 compression card.

I've updated the signed value to -1 as per Takashi's comments
since these are non-linear formats.

Signed-off-by: Ben Collins <bcollins@bluecherry.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
89485d4931769d40353ea49bff1596accff8f06e 11-May-2010 Daniel Mack <daniel@caiaq.de> ALSA: include/sound/asound.h whitespace fixups

This fixes some whitespace/indentation flaws I stumbled over.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
b30477d5e2961bfd90ad4146c517871ca8a6bebc 03-Mar-2010 Jaroslav Kysela <perex@perex.cz> ALSA: timer - pass real event in snd_timer_notify1() to instance callback

Do not use hardcoded SNDRV_TIMER_EVENT_START value.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
5a53a7640a7af7acf904ed805c6fd1bf9fea829c 27-Aug-2009 Takashi Iwai <tiwai@suse.de> ALSA: pcm - Increase protocol version

Increase the PCM protocol version to indicate the drain ioctl behavior
change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
8bea869c5e56234990e6bad92a543437115bfc18 27-Apr-2009 Jaroslav Kysela <perex@perex.cz> ALSA: PCM midlevel: improve fifo_size handling

Move the fifo_size assignment to hw->ioctl callback to allow lowlevel
drivers overwrite the default behaviour.

fifo_size is in frames not bytes as specified in asound.h and alsa-lib's
documentation, but most hardware have fixed byte based FIFOs. Introduce
internal SNDRV_PCM_INFO_FIFO_IN_FRAMES.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
ba1eb95cf3cc666769afe42eaa15a3a34ae82f94 27-Mar-2009 Linus Torvalds <torvalds@linux-foundation.org> Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (50 commits)
x86: headers cleanup - setup.h
emu101k1.h: fix duplicate include of <linux/types.h>
compiler-gcc4: conditionalize #error on __KERNEL__
remove __KERNEL_STRICT_NAMES
make netfilter use strict integer types
make drm headers use strict integer types
make MTD headers use strict integer types
make most exported headers use strict integer types
make exported headers use strict posix types
unconditionally include asm/types.h from linux/types.h
make linux/types.h as assembly safe
Neither asm/types.h nor linux/types.h is required for arch/ia64/include/asm/fpu.h
headers_check fix cleanup: linux/reiserfs_fs.h
headers_check fix cleanup: linux/nubus.h
headers_check fix cleanup: linux/coda_psdev.h
headers_check fix: x86, setup.h
headers_check fix: x86, prctl.h
headers_check fix: linux/reinserfs_fs.h
headers_check fix: linux/socket.h
headers_check fix: linux/nubus.h
...

Manually fix trivial conflicts in:
include/linux/netfilter/xt_limit.h
include/linux/netfilter/xt_statistic.h
9adfbfb611307060db54691bc7e6d53fdc12312b 26-Feb-2009 Arnd Bergmann <arnd@arndb.de> make most exported headers use strict integer types

This takes care of all files that have only a small number
of non-strict integer type uses.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Cc: linux-ppp@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
/include/sound/asound.h
85efde6f4e0de9577256c5f0030088d3fd4347c1 26-Feb-2009 Arnd Bergmann <arnd@arndb.de> make exported headers use strict posix types

A number of standard posix types are used in exported headers, which
is not allowed if __STRICT_KERNEL_NAMES is defined. In order to
get rid of the non-__STRICT_KERNEL_NAMES part and to make sane headers
the default, we have to change them all to safe types.

There are also still some leftovers in reiserfs_fs.h, elfcore.h
and coda.h, but these files have not compiled in user space for
a long time.

This leaves out the various integer types ({u_,u,}int{8,16,32,64}_t),
which we take care of separately.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Cc: linux-ppp@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
/include/sound/asound.h
78a05b522044a50dc2a6811d10b9ee3f7c3e78f8 11-Mar-2009 Takashi Iwai <tiwai@suse.de> ALSA: Use define for ioctl definitions

Use define instead of enum for ioctl definitions since strace can't
parse ioctls defined via enum properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
47e78ecc2adb778c7d2b54924e90433a0182a6ba 11-Mar-2009 Takashi Iwai <tiwai@suse.de> ALSA: Remove obsolete snd_xferv struct and ioctls

Removed obsleted snd_xferv struct and ioctls that are no longer used
in the current codebase.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
bbaf5e97337287479eb78dbc3822d9560bbfd2e2 24-Oct-2008 Takashi Iwai <tiwai@suse.de> ALSA: Add hrtimer backend for ALSA timer interface

Added the hrtimer backend for ALSA timer interface.
It can be used for the sequencer timer source.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
ff33f2303b0ea8e5ac15af91de8d8538a5d58db1 07-Oct-2008 Takashi Iwai <tiwai@suse.de> ALSA: Increase components array size

Increase the card components[] (and thus snd_card_info.components[],
too) array size from 80 to 128 chars so that more strings can be
stored. The 80 chars aren't enough for more than 2 HD-audio codecs,
and this hits an ugly snd_BUG() as reported by Wu Fegguang for HP
2230s.

The control protocol number is increased to 2.0.6 as well, in case
it matters.

Reported-by: Wu Fengguang <wfg@linux.intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
a99606d25eb6981e13d332e18774e203ded66709 24-Sep-2008 Takashi Iwai <tiwai@suse.de> ALSA: Remove bitwise from snd_pcm_hw_param_t

We have some arithmetic operations against snd_pcm_hw_param_t, thus
bitwise isn't correct for it. Better to remove the flag to shut up
sparse warnings.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
030a07e441296c372f946cd4065b5d831d8dc40c 30-Jul-2008 Karsten Wiese <fzu@wemgehoertderstaat.de> ALSA: Add USB US122L driver

Added a new US122L usb-audio driver. This driver works together with a
dedicated alsa-lib plugin.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
8c12158687fc78091730d5456336b7efbf6f2250 11-Jan-2008 Jaroslav Kysela <perex@perex.cz> [ALSA] PCM interface - rename SNDRV_PCM_TSTAMP_MMAP to SNDRV_PCM_TSTAMP_ENABLE

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 <perex@perex.cz>
/include/sound/asound.h
d948035a928400ae127c873fbf771389bee18949 08-Jan-2008 Takashi Iwai <tiwai@suse.de> [ALSA] Remove PCM xfer_align sw params

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 <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
8ace4f3c9d83fd60e7539526a3a70bf5730db8c0 08-Jan-2008 Takashi Iwai <tiwai@suse.de> [ALSA] Remove indirect control access

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 <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
28e9e47384d333239a8335b439a92a13d29f91d6 17-Dec-2007 Jaroslav Kysela <perex@perex.cz> [ALSA] PCM - added back TSTAMP ioctl for PCM (for old alsa-lib binaries)


Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
b751eef1fdffca5532344285f2fad0c60d2f0158 13-Dec-2007 Jaroslav Kysela <perex@perex.cz> [ALSA] Use posix clock monotonic for PCM and timer timestamps

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 <perex@perex.cz>
/include/sound/asound.h
85db3848c59610c47f64f67677e875abfcff1c3f 08-Nov-2007 Takashi Iwai <tiwai@suse.de> [ALSA] Update SNDRV_HWDEP_IFACE_LAST

Updated the forgotten SNDRV_HWDEP_IFACE_LAST to point the really last member.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
c1017a4cdb68ae5368fbc9ee42c77f1f5dca8916 15-Oct-2007 Jaroslav Kysela <perex@perex.cz> [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz


Signed-off-by: Jaroslav Kysela <perex@perex.cz>
/include/sound/asound.h
2807314d467e7dd929c42050031aabbd28e78f0b 27-Jul-2007 Takashi Iwai <tiwai@suse.de> [ALSA] hda-intel - Add hwdep interface

Added a hwdep interface for each codec (enabled per kconfig).
This interface can be used for reading/writing HD-audio verbs
and other purposes as future extensions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
/include/sound/asound.h
8aa9b586e42099817163aba01d925c2660c4dbbe 05-Jul-2006 Jaroslav Kysela <perex@suse.cz> [ALSA] Control API - more robust TLV implementation

- added callback option
- added READ/WRITE/COMMAND flags to access member
- added WRITE/COMMAND ioctls
- added SNDRV_CTL_EVENT_MASK_TLV for TLV change notifications
- added TLV support to ELEM_ADD ioctl

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
/include/sound/asound.h
42750b04c5baa7c5ffdf0a8be2b9b320efdf069f 01-Jun-2006 Jaroslav Kysela <perex@suse.cz> [ALSA] Control API - TLV implementation for additional information like dB scale

This patch implements a TLV mechanism to transfer an additional information
like dB scale to the user space. The types might be extended in future.
Acked-by: Takashi Iwai <tiwai@suse.de>

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
/include/sound/asound.h
0df63e44c3e315ec0fe427ae62558231864108bd 28-Apr-2006 Takashi Iwai <tiwai@suse.de> [ALSA] Add O_APPEND flag support to PCM

Added O_APPEND flag support to PCM to enable shared substreams
among multiple processes. This mechanism is used by dmix and
dsnoop plugins.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
512bbd6a85230f16389f0dd51925472e72fc8a91 17-Nov-2005 Takashi Iwai <tiwai@suse.de> [ALSA] Remove xxx_t typedefs: Core component

Modules: ALSA Core

Remove xxx_t typedefs from the core component.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
6560c349c501388a1f3030d02fb49e7067e6597e 17-Nov-2005 Takashi Iwai <tiwai@suse.de> [ALSA] Clean up includes in asound.h & asequencer.h

Modules: ALSA sequencer,ALSA Core

Clean up includes in asound.h and asequencer.h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
5ca307b28d6fa12f46b4ad32cb4bb854f8ee69c3 16-Aug-2005 Jaroslav Kysela <perex@suse.cz> [ALSA] Timer API - SNDRV_TIMER_EVENT_RESUME - val is resolution in ns

ALSA Core

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
/include/sound/asound.h
a501dfa3a763451dedd583eb90a6c9e90d0e3a3c 16-Aug-2005 Jaroslav Kysela <perex@suse.cz> [ALSA] Timer API - added SUSPEND/RESUME events

PCM Midlevel,Timer Midlevel,ALSA Core
- added SNDRV_TIMER_EVENT_SUSPEND / RESUME events
- changed timer events from PAUSE / CONTINUE in PCM midlevel to SUSPEND / RESUME

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
/include/sound/asound.h
8c50b37c04a026ab6641ecb7eaf0fd479798e8b8 15-May-2005 Takashi Iwai <tiwai@suse.de> [ALSA] Change some timer ioctls due to confliction

Timer Midlevel,ALSA Core
Change values of some timer ioctls to avoid confliction with FIO* ioctls.
The protocol version is increased to indicate this change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
b259b10c420a59a2fdbcf5a3498253ebcbdffa1e 29-Apr-2005 Clemens Ladisch <clemens@ladisch.de> [ALSA] usb-audio - add Extigy/Audigy 2 NX remote control support

ALSA Core,USB generic driver
Add an hwdep interface that supports reading remote control data from
Sound Blaster Extigy and Audigy 2 NX devices.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
/include/sound/asound.h
07cf374169699d78721668b4e4bd02097c971f75 14-Apr-2005 Takashi Iwai <tiwai@suse.de> [ALSA] Increase timer protocol number

ALSA Core
Increase the timer protocl number (to distinguish the fix for TREAD ioctls).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
/include/sound/asound.h
267cdf4036ed9e8565a7d909fdf854b9c7e1c5ff 13-Apr-2005 Jaroslav Kysela <perex@suse.cz> [ALSA] replace SNDRV_PCM_HW_PARAMS_RUNTIME -> SNDRV_PCM_HW_PARAMS_NORESAMPLE

ALSA Core


Signed-off-by: Jaroslav Kysela <perex@suse.cz>
/include/sound/asound.h
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
/include/sound/asound.h