diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-04-11 16:29:22 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-04-11 16:29:22 +0000 |
commit | 7dad6350e3a80e234278261ed41a83ea236b67b5 (patch) | |
tree | cff27dfecebf038b5a5313ecf886bdad024600e9 | |
parent | 919bd98dff2f4cd357fe89f9e4fbc202ee5dc409 (diff) |
fix bit depth guarantee for pa_usec_t
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2241 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | src/pulse/sample.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulse/sample.h b/src/pulse/sample.h index f0b839fd..dedd72de 100644 --- a/src/pulse/sample.h +++ b/src/pulse/sample.h @@ -30,6 +30,7 @@ #include <sys/param.h> #include <math.h> +#include <pulse/gccmacro.h> #include <pulse/cdecl.h> /** \page sample Sample Format Specifications @@ -172,7 +173,7 @@ typedef struct pa_sample_spec { uint8_t channels; /**< Audio channels. (1 for mono, 2 for stereo, ...) */ } pa_sample_spec; -/** Type for usec specifications (unsigned). May be either 32 or 64 bit, depending on the architecture */ +/** Type for usec specifications (unsigned). Always 64 bit. */ typedef uint64_t pa_usec_t; /** Return the amount of bytes playback of a second of audio with the specified sample type takes */ |