From d72b9a3bfa4d15c0bf906cf3ad86bc921667b6b0 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 24 Jun 2010 19:29:57 +0200 Subject: alsa: try to use mmap access type and fall back to slow write, if mmap not avaiable --- dxr3audio-alsa.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dxr3audio-alsa.h') diff --git a/dxr3audio-alsa.h b/dxr3audio-alsa.h index c5eda3e..81588ab 100644 --- a/dxr3audio-alsa.h +++ b/dxr3audio-alsa.h @@ -44,6 +44,8 @@ private: snd_pcm_status_t *status; size_t bytesFrame; + snd_pcm_sframes_t (*pcm_write_func)(snd_pcm_t*, const void*, snd_pcm_uframes_t); + void Xrun(); }; -- cgit v1.2.3