summaryrefslogtreecommitdiffstats
path: root/polyp/sample.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-12 13:14:49 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-12 13:14:49 +0000
commitf05a4ac806d8d44ab1377ea2069abb1da7ab9d16 (patch)
tree4de3d0fa9b1fdbfc9ecaa53455324a8933b2b5df /polyp/sample.h
parenta9ca9c4a3bd8c3c03fe5d30cd2694cf891f5bbc1 (diff)
extend pa_usec_t to 64 bit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@192 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/sample.h')
-rw-r--r--polyp/sample.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/sample.h b/polyp/sample.h
index 0141a7cd..1e42a260 100644
--- a/polyp/sample.h
+++ b/polyp/sample.h
@@ -67,8 +67,8 @@ struct pa_sample_spec {
uint8_t channels; /**< Audio channels. (1 for mono, 2 for stereo, ...) */
};
-/** Type for usec specifications */
-typedef uint32_t pa_usec_t;
+/** Type for usec specifications. May be either 32 or 64 bit, depending on the architecture */
+typedef uint64_t pa_usec_t;
/** Return the amount of bytes playback of a second of audio with the speicified sample type takes */
size_t pa_bytes_per_second(const struct pa_sample_spec *spec);