This project is mirrored from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git.
Pull mirroring updated .
- 31 Jan, 2008 8 commits
-
-
Takashi Iwai authored
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 <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Takashi Iwai authored
Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write for cleaning up the code. Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Takashi Iwai authored
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>
-
Takashi Iwai authored
The snd_pcm_lib_write1() may block in some weird condition: - the stream isn't started - avail_min is big (e.g. period size) - partial write up to buffer_size - avail_min The patch fixes this invalid blocking problem. Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Marcin Ślusarz authored
pcm_lib: fix sparse warning about different signedness Signed-off-by:
Marcin Ślusarz <marcin.slusarz@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Marcin Ślusarz authored
pcm_lib: fix sparse warning about shadowing 'n' symbol Signed-off-by:
Marcin Ślusarz <marcin.slusarz@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Jaroslav Kysela authored
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>
-
Takashi Iwai authored
When MMAP time-stamp mode is given, it's supposed to update the time-stamp only at period boundary. However, it currently updates at each status call so this is just useless. The patch fixes this misbehavior. Also it fixes the wrong check of tstamp_mode (don't use bit-and for enum). Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- 16 Oct, 2007 1 commit
-
-
Jaroslav Kysela authored
Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- 09 Feb, 2007 1 commit
-
-
Takashi Iwai authored
snd_internval_list() may access invalid memory in the case count = 0 is given. It shouldn't be passed, but it'd better to make the code a bit more robust. Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Jaroslav Kysela <perex@suse.cz>
-
- 20 Dec, 2006 1 commit
-
-
Clemens Ladisch authored
The case where silence_size < boundary was broken because different parts of the snd_pcm_playback_silence() function disagreed about whether silence_start should point to the start or to the end of the buffer part to be silenced. This patch changes the code to always use to the start, which also simplifies several calculations. Signed-off-by:
Clemens Ladisch <clemens@ladisch.de> Signed-off-by:
Jaroslav Kysela <perex@suse.cz>
-
- 22 Jun, 2006 3 commits
-
-
Takashi Iwai authored
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>
-
Takashi Iwai authored
Clean up ugly hacks for sync with alsa-lib code in pcm_lib.c. Also, optimize snd_pcm_hw_params_choose() with a loop. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Also move OSS-specific hw_params helper functions to pcm_oss.c. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 27 Apr, 2006 1 commit
-
-
Jaroslav Kysela authored
This patch makes the XRUN (overrun/underrun) notification code optional. Signed-off-by:
Jaroslav Kysela <perex@suse.cz>
-
- 31 Mar, 2006 1 commit
-
-
Takashi Iwai authored
- Clean up initialization and destruction of substream instance Now snd_pcm_open_substream() alone does most initialization jobs. Add pcm_release callback for cleaning up at snd_pcm_release_substream() - Tidy up PCM oss code Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 03 Jan, 2006 2 commits
-
-
Takashi Iwai authored
Modules: PCM Midlevel Fixed wrong or supreflous snd_assert()'s. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Modules: PCM Midlevel Remove xxx_t typedefs from the core PCM codes. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 04 Nov, 2005 2 commits
-
-
Takashi Iwai authored
Modules: Documentation,PCM Midlevel,Timer Midlevel,ALSA Core Use the standard getnstimeofday() function instead of ALSA's own one. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Remove snd_runtime_check() macro. This macro worsens the readability of codes. They should be either normal if() or removable asserts. Also, the assert displays stack-dump, instead of only the last caller pointer. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 12 Sep, 2005 1 commit
-
-
Takashi Iwai authored
PCM Midlevel,RawMidi Midlevel Fix DocBook warnings. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 30 Aug, 2005 2 commits
-
-
Clemens Ladisch authored
Memalloc module,PCM Midlevel,Timer Midlevel,GUS Library,AC97 Codec ALI5451 driver,RME9652 driver Make some functions/variables that are used in only one file static. Signed-off-by:
Clemens Ladisch <clemens@ladisch.de>
-
Karsten Wiese authored
PCM Midlevel,ALSA<-OSS emulation,USB USX2Y This patch removes open_flag from struct _snd_pcm_substream. All of its uses are substituted by querying struct _snd_pcm_substream's member ffile instead. Signed-off-by:
Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 29 May, 2005 2 commits
-
-
Takashi Iwai authored
PCM Midlevel Make docproc happy by moving '#if 0' before comments. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Adrian Bunk authored
PCM Midlevel,ALSA Core,Timer Midlevel,ALSA sequencer,Virtual Midi This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions - remove the following unneeded EXPORT_SYMBOL's Signed-off-by:
Adrian Bunk <bunk@stusta.de> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- 16 Apr, 2005 1 commit
-
-
Linus Torvalds authored
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!
-