blob: 8503c47f26bd8551bba506ecdee09b56a1f36ac6 [file] [log] [blame]
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -03001.. -*- coding: utf-8; mode: rst -*-
2
3.. _AUDIO_SET_EXT_ID:
4
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -03005================
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -03006AUDIO_SET_EXT_ID
7================
8
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -03009Name
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030010----
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030011
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030012AUDIO_SET_EXT_ID
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030013
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030014.. attention:: This ioctl is deprecated
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030015
16Synopsis
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030017--------
18
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030019.. c:function:: int ioctl(fd, AUDIO_SET_EXT_ID, int id)
20 :name: AUDIO_SET_EXT_ID
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030021
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030022Arguments
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030023---------
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030024
25.. flat-table::
26 :header-rows: 0
27 :stub-columns: 0
28
29
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030030 -
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030031
32 - int fd
33
34 - File descriptor returned by a previous call to open().
35
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030036 -
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030037
38 - int id
39
40 - audio sub_stream_id
41
42
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030043Description
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030044-----------
45
46This ioctl can be used to set the extension id for MPEG streams in DVD
47playback. Only the first 3 bits are recognized.
48
49
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030050Return Value
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030051------------
52
53On success 0 is returned, on error -1 and the ``errno`` variable is set
54appropriately. The generic error codes are described at the
55:ref:`Generic Error Codes <gen-errors>` chapter.
56
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030057.. flat-table::
58 :header-rows: 0
59 :stub-columns: 0
60
61
62 - .. row 1
63
64 - ``EINVAL``
65
66 - id is not a valid id.