snd_mixer_get_bit()

Return the boolean value of a single bit in the specified bitmap

Synopsis:

#include <sys/asoundlib.h>

int snd_mixer_get_bit( unsigned int *bitmap,
                       int bit );

Arguments:

bitmap
The bitmap to test. Note that bitmap is an array and may be longer than 32 bits.
bit
The index into bitmap of the bit to get.

Library:

libasound.so

Use the -l asound option to qcc to link against this library.

Description:

The snd_mixer_get_bit() function is a convenience function that returns the value (0 or 1) of the bit specified by bit in the bitmap.

Returns:

The value of the specified bit (0 or 1).

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes