doc-rst: customize RTD theme, captions & inline literal
[deliverable/linux.git] / Documentation / linux_tv / media / dvb / audio-clear-buffer.rst
CommitLineData
47d23e36
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _AUDIO_CLEAR_BUFFER:
4
586027ce 5==================
47d23e36
MCC
6AUDIO_CLEAR_BUFFER
7==================
8
586027ce
MCC
9NAME
10----
47d23e36 11
586027ce 12AUDIO_CLEAR_BUFFER
47d23e36 13
586027ce 14SYNOPSIS
47d23e36
MCC
15--------
16
17.. c:function:: int ioctl(int fd, int request = AUDIO_CLEAR_BUFFER)
18
47d23e36 19
586027ce
MCC
20ARGUMENTS
21---------
47d23e36
MCC
22
23.. flat-table::
24 :header-rows: 0
25 :stub-columns: 0
26
27
28 - .. row 1
29
30 - int fd
31
32 - File descriptor returned by a previous call to open().
33
34 - .. row 2
35
36 - int request
37
38 - Equals AUDIO_CLEAR_BUFFER for this command.
39
40
586027ce
MCC
41DESCRIPTION
42-----------
43
44This ioctl call asks the Audio Device to clear all software and hardware
45buffers of the audio decoder device.
46
47
48RETURN VALUE
47d23e36
MCC
49------------
50
51On success 0 is returned, on error -1 and the ``errno`` variable is set
52appropriately. The generic error codes are described at the
53:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.02778 seconds and 5 git commands to generate.