~vcs-imports/alsa-plugins/trunk

  • Committer: Takashi Iwai
  • Author(s): Timo Wischer
  • Date: 2018-03-16 14:27:00 UTC
  • Revision ID: git-v1:a08336cd889512dd3f1060c68724ab81f15fb21c
jack: Report Xruns to user application

Only increasing the hw_ptr is not sufficient
because it will not be evaluated by the ALSA library
to detect an Xrun.

In addition there is a raise where an Xrun detected by the JACK thread
could not be detected in the ALSA thread.
- In playback use case
- The hw_ptr will be increased by the JACK thread
  (hw_ptr > appl_ptr => Xrun)
- But the ALSA thread increases the appl_ptr before evaluating the
hw_ptr
- Therefore the hw_ptr < appl_ptr again
- ALSA will not detect the Xrun which was already detected by the
JACK thread

Therefore an additional variable is required to report an Xrun from the
JACK thread to ALSA.

Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Filename Latest Rev Last Changed Committer Comment Size
..
a52 38 18 years ago Takashi Iwai Add a52 output plugin Added (experimental) a52 ou Diff
arcam-av 194 15 years ago Takashi Iwai Add arcam-av plugin Added arcam-av control plugin Diff
doc 20 18 years ago Takashi Iwai Structure reorganziation, added polyp plugin - Re Diff
jack 20 18 years ago Takashi Iwai Structure reorganziation, added polyp plugin - Re Diff
m4 181 15 years ago Diego E. 'Flameeyes' Pettenò Add the attributes.m4 macro file from xine/lscube. Diff
maemo 68 17 years ago Takashi Iwai Alsa support for Maemo SDK (n770): Header files T Diff
mix 31 18 years ago Takashi Iwai Add upmix and vdownmix plugins Added PCM upmix an Diff
oss 20 18 years ago Takashi Iwai Structure reorganziation, added polyp plugin - Re Diff
pph 88 17 years ago Takashi Iwai Add rate resampler plugin based on speex Added an Diff
pulse 57 17 years ago Takashi Iwai Follow Polypaudio/PulseAudio name change Polypaud Diff
rate 35 18 years ago Takashi Iwai Add samplerate rate converter plugin Added a rate Diff
rate-lavc 86 17 years ago Takashi Iwai Add livavcodec resampler plugin Add a new pcm_rat Diff
speex 192 15 years ago Takashi Iwai Add Speex pre-processing plugin Added Speex pre-p Diff
usb_stream 141 15 years ago Takashi Iwai Add usb_stream PCM plugin usb_stream PCM plugin i Diff
.gitignore 181 15 years ago Diego E. 'Flameeyes' Pettenò Add the attributes.m4 macro file from xine/lscube. 373 bytes Diff Download File
acinclude.m4 6 19 years ago Jaroslav Kysela packaging related changes 172 bytes Diff Download File
configure.ac 284 6 years ago Jaroslav Kysela Release v1.1.5 Signed-off-by: Jaroslav Kysela <pe 7.8 KB Diff Download File
COPYING 285 6 years ago Jaroslav Kysela Change FSF address (Franklin Street) Signed-off-b 25.8 KB Diff Download File
COPYING.GPL 285 6 years ago Jaroslav Kysela Change FSF address (Franklin Street) Signed-off-b 17.5 KB Diff Download File
File cvscompile 35 18 years ago Takashi Iwai Add samplerate rate converter plugin Added a rate 370 bytes Diff Download File
File gitcompile 126 15 years ago Jaroslav Kysela removed .hg* files and renamed hgcompile to gitcom 370 bytes Diff Download File
Makefile.am 195 15 years ago Takashi Iwai Clean up Makefile.am Avoid unnecessary substituti 692 bytes Diff Download File