mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
timeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t
This commit is contained in:
parent
f3bbbd0fd3
commit
9217b47b19
1 changed files with 3 additions and 3 deletions
|
|
@ -40,16 +40,16 @@ PA_C_DECL_BEGIN
|
||||||
#define PA_USEC_PER_SEC ((pa_usec_t) 1000000ULL)
|
#define PA_USEC_PER_SEC ((pa_usec_t) 1000000ULL)
|
||||||
|
|
||||||
/** The number of nanoseconds in a second */
|
/** The number of nanoseconds in a second */
|
||||||
#define PA_NSEC_PER_SEC ((pa_usec_t) 1000000000ULL)
|
#define PA_NSEC_PER_SEC ((unsigned long long) 1000000000ULL)
|
||||||
|
|
||||||
/** The number of microseconds in a millisecond */
|
/** The number of microseconds in a millisecond */
|
||||||
#define PA_USEC_PER_MSEC ((pa_usec_t) 1000ULL)
|
#define PA_USEC_PER_MSEC ((pa_usec_t) 1000ULL)
|
||||||
|
|
||||||
/** The number of nanoseconds in a millisecond */
|
/** The number of nanoseconds in a millisecond */
|
||||||
#define PA_NSEC_PER_MSEC ((pa_usec_t) 1000000ULL)
|
#define PA_NSEC_PER_MSEC ((unsigned long long) 1000000ULL)
|
||||||
|
|
||||||
/** The number of nanoseconds in a microsecond */
|
/** The number of nanoseconds in a microsecond */
|
||||||
#define PA_NSEC_PER_USEC ((pa_usec_t) 1000ULL)
|
#define PA_NSEC_PER_USEC ((unsigned long long) 1000ULL)
|
||||||
|
|
||||||
/** Invalid time in usec */
|
/** Invalid time in usec */
|
||||||
#define PA_USEC_INVALID ((pa_usec_t) -1)
|
#define PA_USEC_INVALID ((pa_usec_t) -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue