1 .. -*- coding: utf-8; mode: rst -*-
3 .. _AUDIO_SET_STREAMTYPE:
14 .. attention:: This ioctl is deprecated
19 .. c:function:: int ioctl(fd, AUDIO_SET_STREAMTYPE, int type)
20 :name: AUDIO_SET_STREAMTYPE
35 - File descriptor returned by a previous call to open().
47 This ioctl tells the driver which kind of audio stream to expect. This
48 is useful if the stream offers several audio sub-streams like LPCM and
55 On success 0 is returned, on error -1 and the ``errno`` variable is set
56 appropriately. The generic error codes are described at the
57 :ref:`Generic Error Codes <gen-errors>` chapter.
70 - type is not a valid or supported stream type.