1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/userspace-api/media/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
12 =========================
13 Digital TV audio write()
14 =========================
19 Digital TV audio write()
21 .. attention:: This ioctl is deprecated
26 .. c:function:: size_t write(int fd, const void *buf, size_t count)
27 :name: dvb-audio-write
42 - File descriptor returned by a previous call to open().
48 - Pointer to the buffer containing the PES data.
60 This system call can only be used if AUDIO_SOURCE_MEMORY is selected
61 in the ioctl call AUDIO_SELECT_SOURCE. The data provided shall be in
62 PES format. If O_NONBLOCK is not specified the function will block
63 until buffer space is available. The amount of data to be transferred is
79 - Mode AUDIO_SOURCE_MEMORY not selected.
85 - Attempted to write more data than the internal buffer can hold.
91 - fd is not a valid open file descriptor.