diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-26 17:02:26 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-26 17:02:26 +0000 |
commit | 5bac3c3ce515cb588f3928431db4fe1c396d53e7 (patch) | |
tree | 7ec714219121bee11db5f7f497879e805ea30926 /polyp/sample.c | |
parent | 405fac5ea7070fa7b50a77952fa8042f87f588a8 (diff) |
bum version number
add new macro PA_API_VERSION for preprocessor level conditional compiling
add new native APIs:
- counter
- cork & flush for record streams
- add flags parameters to pa_stream_connect_xx()
- new prebuf command
- time api, and total latency calculator
- return sample spec
ability to cork source output streams
dump server status on SIGHUP to syslog
show sink input/source outputs status in cli-text.c
don't flush esound output buffer when client disconnects
move version api to polyplib-version.h
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@240 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/sample.c')
-rw-r--r-- | polyp/sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/sample.c b/polyp/sample.c index 143e1e41..65ae8ff3 100644 --- a/polyp/sample.c +++ b/polyp/sample.c @@ -59,7 +59,7 @@ size_t pa_bytes_per_second(const struct pa_sample_spec *spec) { return spec->rate*pa_frame_size(spec); } -pa_usec_t pa_bytes_to_usec(size_t length, const struct pa_sample_spec *spec) { +pa_usec_t pa_bytes_to_usec(uint64_t length, const struct pa_sample_spec *spec) { assert(spec); return (pa_usec_t) (((double) length/pa_frame_size(spec)*1000000)/spec->rate); |