7.2.2.22. AUDIO_SET_ATTRIBUTES

7.2.2.22.1. Name

AUDIO_SET_ATTRIBUTES

7.2.2.22.2. Synopsis

int ioctl(fd, int request = AUDIO_SET_ATTRIBUTES, audio_attributes_t attr)

7.2.2.22.3. Arguments

int fd File descriptor returned by a previous call to open().
int request Equals AUDIO_SET_ATTRIBUTES for this command.
audio_attributes_t attr audio attributes according to section ??

7.2.2.22.4. Description

This ioctl is intended for DVD playback and allows you to set certain information about the audio stream.

7.2.2.22.5. Return Value

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.

EINVAL attr is not a valid or supported attribute setting.