]> code.delx.au - pulseaudio/commitdiff
fix bit depth guarantee for pa_usec_t
authorLennart Poettering <lennart@poettering.net>
Fri, 11 Apr 2008 16:29:22 +0000 (16:29 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Apr 2008 16:29:22 +0000 (16:29 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2241 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulse/sample.h

index f0b839fd4fd3e38a999b5fe3fbeba5048498a334..dedd72de6c076c41eafc26aa91134744b318b5b0 100644 (file)
@@ -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 */