summaryrefslogtreecommitdiffstats
path: root/polyp/alsa-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-20 22:17:31 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-20 22:17:31 +0000
commitacc8b7890a0b3878b226f56454eeffc80843fdee (patch)
tree4672cbf57506b63d0a5ddb145f1a0f9f8281c216 /polyp/alsa-util.h
parent5f647c8fef33f35210d550ad1477ef43520b32a3 (diff)
option to use ALSA default fragment number and size
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@295 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/alsa-util.h')
-rw-r--r--polyp/alsa-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/alsa-util.h b/polyp/alsa-util.h
index 8add361f..c058025f 100644
--- a/polyp/alsa-util.h
+++ b/polyp/alsa-util.h
@@ -27,7 +27,7 @@
#include "sample.h"
#include "mainloop-api.h"
-int pa_alsa_set_hw_params(snd_pcm_t *pcm_handle, struct pa_sample_spec *ss, uint32_t *periods, snd_pcm_uframes_t *buffer_size);
+int pa_alsa_set_hw_params(snd_pcm_t *pcm_handle, struct pa_sample_spec *ss, uint32_t *periods, snd_pcm_uframes_t *period_size);
int pa_create_io_events(snd_pcm_t *pcm_handle, struct pa_mainloop_api *m, struct pa_io_event ***io_events, unsigned *n_io_events, void (*cb)(struct pa_mainloop_api*a, struct pa_io_event *e, int fd, enum pa_io_event_flags events, void *userdata), void *userdata);
void pa_free_io_events(struct pa_mainloop_api* m, struct pa_io_event **io_sources, unsigned n_io_sources);