diff options
author | Simon Wilson <simonwilson@google.com> | 2014-04-30 09:27:29 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2014-04-30 09:27:29 -0700 |
commit | a72754dc3ba9e478a7d85fd670c8d79fe28a2fea (patch) | |
tree | cf68f9a21a00232385ad8d51f8ccf128994ae269 /include | |
parent | 782bfda5e796cb46d0e7be0dc882ff686d5ad2a2 (diff) | |
parent | c9032a07de3321063cbd0c1136cb2b065d2478a5 (diff) |
Merge pull request #39 from dawagner/separate-pcm-prepare
Add separate call for pcm prepare
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/asoundlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index 3d20b94..8ba5aca 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -189,6 +189,8 @@ int pcm_mmap_begin(struct pcm *pcm, void **areas, unsigned int *offset, unsigned int *frames); int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames); +/* Prepare the PCM substream to be triggerable */ +int pcm_prepare(struct pcm *pcm); /* Start and stop a PCM channel that doesn't transfer data */ int pcm_start(struct pcm *pcm); int pcm_stop(struct pcm *pcm); |