Information about the output port.
Synopsis:
typedef struct snd_pcm_outputclass_event
{
uint32_t old_output_class;
uint32_t new_output_class;
} snd_pcm_outputclass_event_t;
Description:
The snd_pcm_outputclass_event structure describes information about the
output class event.
You can use this structure to get information about the outputclass for the PCM channel.
You get handle about this structure from the
snd_pcm_event_t()
structure.
The members include:
- old_output_class
- The previous output class type.
The valid values are:
- SND_OUTPUT_CLASS_UKNOWN —
the output channel is for an unknown type.
- SND_OUTPUT_CLASS_SPEAKER —
the output channel is for
speakers that are connected to the system.
- SND_OUTPUT_CLASS_HEADPHONE —
the output channel is for
headphones that are connected to the system.
- SND_OUTPUT_CLASS_LINEOUT—
the output channel is for
the line-out channel of the system.
- SND_OUTPUT_CLASS_BLUETOOTH—
the output channel is for Bluetooth.
- SND_OUTPUT_CLASS_TOSLINK —
the output channel is for an S-Link
connector.
- SND_OUTPUT_CLASS_MIRACAST —
the output channel is for Miracast.
- SND_NUM_OUTPUT_CLASSES —
an end-of-list identifier that indicates the
total number of output types
recognized by this library.
- new_output_class
- The current output class that the channel was changed to which
caused the event to occur. The valid values are:
- SND_OUTPUT_CLASS_UKNOWN —
the output channel is for an unknown type.
- SND_OUTPUT_CLASS_SPEAKER —
the output channel is for
speakers that are connected to the system.
- SND_OUTPUT_CLASS_HEADPHONE —
the output channel is for
headphones that are connected to the system.
- SND_OUTPUT_CLASS_LINEOUT —
the output channel is for
the line-out channel of the system.
- SND_OUTPUT_CLASS_BLUETOOTH —
the output channel is for Bluetooth.
- SND_OUTPUT_CLASS_TOSLINK —
the output channel is for an S-Link
connector.
- SND_OUTPUT_CLASS_MIRACAST —
the output channel is for Miracast.
- SND_NUM_OUTPUT_CLASSES —
an end-of-list identifier that indicates the
total number of output types
recognized by this library.
Classification:
QNX Neutrino