---
name: "YEventAudioStats"
section: "3"
platform: "linux"
package: "liby-dev"
version: "2.14.5-7"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://carta.tech/man/YEventAudioStats"
---

# YEventAudioStats(3)

Y Audio statistics event structures

## NAME

YEventAudioStats - Y Audio statistics event structures

## STRUCTURES

typedef struct {

        int cycle\_set;

        long cycle\_us;\
\
         long compensated\_cycle\_us;

        long write\_ahead\_us;\
\
         long cumulative\_latency\_us;

        int sample\_size;\
\
         int channels;\
\
         int sample\_rate;\
\
         int bytes\_per\_sec;

        Boolean allow\_fragments;\
\
         int num\_fragments;\
\
         int fragment\_size;

        Boolean flip\_stereo;\
\
         int direction;

        char mode\_name\[YAudioNameMax\];

} YEventAudioStats;

Reports the current Audio values of the Y server.

## SEE ALSO

[YEvent(3)](/man/YEvent/3.md) [YEventAudioChange(3)](/man/YEventAudioChange/3.md) [YEventServerStats(3)](/man/YEventServerStats/3.md) [YEventCycleChange(3)](/man/YEventCycleChange/3.md) [YEventDisconnect(3)](/man/YEventDisconnect/3.md) [YEventHost(3)](/man/YEventHost/3.md) [YEventSoundKill(3)](/man/YEventSoundKill/3.md) [YEventMixer(3)](/man/YEventMixer/3.md) [YEventSoundPlay(3)](/man/YEventSoundPlay/3.md) [YEventSoundObjectAttributes(3)](/man/YEventSoundObjectAttributes/3.md) [YEventShutdown(3)](/man/YEventShutdown/3.md) [YEventSync(3)](/man/YEventSync/3.md) [YEventYSHMSound(3)](/man/YEventYSHMSound/3.md) [YEventAudioCDStats(3)](/man/YEventAudioCDStats/3.md) [YGetNextEvent(3)](/man/YGetNextEvent/3.md) [YPutBackEvent(3)](/man/YPutBackEvent/3.md)
