Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
snd_mixer_get_bit

snd_mixer_get_bit

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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

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

See also:

snd_mixer_set_bit()