Logo Search packages:      
Sourcecode: performous version File versions  Download package

void alsa::mmap::commit ( snd_pcm_uframes_t  n  )  [inline]

Commit n frames

Definition at line 509 of file alsa.hpp.

References ALSA_CHECKED, frames(), and offset().

                                             {
                  if (n > frames()) throw std::out_of_range("alsa::mmap::commit(n) with n > frames()");
                  ALSA_CHECKED(snd_pcm_mmap_commit, (m_pcm, offset(), n));
                  m_pcm = NULL;
                  m_areas = NULL;
            }


Generated by  Doxygen 1.6.0   Back to index