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 36 37 38 39 40 41 42 43 44 45 46
|
YGetSoundObjectAttributes(3) YLIB FUNCTIONS
NAME
YGetSoundObjectAttributes - Sound object attributes
SYNTAX
#include <Y2/Y.h>
#include <Y2/Ylib.h>
int YGetSoundObjectAttributes(
YConnection *con,
char *path,
YEventSoundObjectAttributes *buf
)
ARGUMENTS
con Specifies the pointer to the Y server
connection which was returned from
a prior call to YOpenConnection.
path Specifies the path (in UNIX path
notation) to the sound object on the
VFS (virtual file system) of the
machine that the Y server is running
on. If the path is not absolute, then
a set of search paths defined on the
Y server will be searched through.
buf Specifies the pointer to the buffer
to put the sound object attrbiutes in
See YEvent(3) for information about
this structure.
DESCRIPTION
The YGetSoundObjectAttributes function fetches the
attributes for the sound object specified by path
and stores the values in the buffer pointer to by
buf.
Returns -1 if the sound object does not exist or
0 on success.
SEE ALSO
YStartPlaySoundObject(3) YDestroyPlaySoundObject(3)
Y Version 2
|