[pulseaudio-commits] r2241 - /branches/glitch-free/src/pulse/sample.h
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Apr 11 09:29:23 PDT 2008
Author: lennart
Date: Fri Apr 11 18:29:22 2008
New Revision: 2241
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2241&root=pulseaudio&view=rev
Log:
fix bit depth guarantee for pa_usec_t
Modified:
branches/glitch-free/src/pulse/sample.h
Modified: branches/glitch-free/src/pulse/sample.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulse/sample.h?rev=2241&root=pulseaudio&r1=2240&r2=2241&view=diff
==============================================================================
--- branches/glitch-free/src/pulse/sample.h (original)
+++ branches/glitch-free/src/pulse/sample.h Fri Apr 11 18:29:22 2008
@@ -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 @@
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 */
More information about the pulseaudio-commits
mailing list