diff options
Diffstat (limited to 'polyp/sample.h')
-rw-r--r-- | polyp/sample.h | 4 |
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); |