Rev | Line | |
---|
[5041] | 1 | .TH "roar_vs_blocking" "3" "May 2011" "RoarAudio" "RoarAudio Programmer's Manual" |
---|
| 2 | |
---|
| 3 | .SH NAME |
---|
| 4 | roar_vs_blocking \- Change blocking mode of VS object |
---|
| 5 | |
---|
| 6 | .SH SYNOPSIS |
---|
| 7 | |
---|
| 8 | #include <roaraudio.h> |
---|
| 9 | |
---|
| 10 | int roar_vs_blocking (roar_vs_t * vss, int val, int * error); |
---|
| 11 | |
---|
| 12 | .SH "DESCRIPTION" |
---|
| 13 | Changes blocking mode of VS object or ask for the current mode if \fBval\fR is set to ROAR_VS_ASK. |
---|
| 14 | |
---|
| 15 | .SH "PARAMETERS" |
---|
| 16 | .TP |
---|
| 17 | \fBvss\fR |
---|
| 18 | The VS object to be altered. |
---|
| 19 | |
---|
| 20 | .TP |
---|
| 21 | \fBval\fR |
---|
| 22 | Specifies the new state. Value must be ROAR_VS_TRUE, ROAR_VS_FALSE, ROAR_VS_TOGGLE or ROAR_VS_ASK. |
---|
| 23 | ROAR_VS_TOGGLE should be avoided. |
---|
| 24 | |
---|
| 25 | .TP |
---|
| 26 | \fBerror\fR |
---|
| 27 | This is a pointer to a integer used to store the error value in case of error. |
---|
| 28 | This can be NULL if not used but it is very recommended to use this error value to report |
---|
| 29 | good error messages to the user. |
---|
| 30 | |
---|
| 31 | .SH "RETURN VALUE" |
---|
| 32 | On success these calls return the old (current if ROAR_VS_ASK is used) state of the blocking mode\. |
---|
| 33 | On error, \-1 is returned. |
---|
| 34 | |
---|
| 35 | .SH "EXAMPLES" |
---|
| 36 | FIXME |
---|
| 37 | |
---|
| 38 | .SH "SEE ALSO" |
---|
| 39 | \fBroarvs\fR(7), |
---|
| 40 | \fBlibroar\fR(7), |
---|
| 41 | \fBRoarAudio\fR(7). |
---|
| 42 | |
---|
| 43 | .\" ll |
---|
Note: See
TracBrowser
for help on using the repository browser.