File: YGetAudioStats.3

package info (click to toggle)
yiff 2.06-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,464 kB
  • ctags: 3,028
  • sloc: ansic: 47,463; makefile: 218; sh: 77
file content (35 lines) | stat: -rw-r--r-- 987 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
YGetAudioStats(3)        YLIB FUNCTIONS        YGetAudioStats(3)

NAME
        YGetAudioStats - current Audio values retrieving

SYNTAX
        #include <Y2/Y.h>
        #include <Y2/Ylib.h>

        int YGetAudioStats(
                YConnection *con,
                YEventAudioStats *buf
        )

ARGUMENTS
        con             Specifies the pointer to the Y server
                        connection which was returned from
                        a prior call to YOpenConnection.

        buf             Specifies a pointer to the buffer
                        to hold the retrieved Audio stats.
                        See YEvent(3) for information about
                        this structure.

DESCRIPTION
        The YGetAudioStats function fetches the current Audio
        values from the Y server and stores them into
        the pointer buf.

        Returns -1 on error, 0 on success.

SEE ALSO
        YChangeAudioModePreset(3) YSetAudioModeValues(3)

Y Version 2