mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
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
This commit is contained in:
parent
919bd98dff
commit
7dad6350e3
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue