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


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

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

[Previous] [Contents] [Index] [Next]

snd_mixer_set_bit()

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

Synopsis:

#include <sys/asoundlib.h>

void snd_mixer_set_bit( unsigned int *bitmap,
                        int bit,
                        int val );

Arguments:

bitmap
The bitmap to set. Note that bitmap is an array and may be longer than 32 bits.
bit
The index into bitmap of the bit to set.
val
The boolean value to store in the bit. Any value other than zero causes the bit to be set; a value of zero causes it to be cleared.

Library:

libasound.so

Description:

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

Classification:

QNX Neutrino

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

See also:

snd_mixer_get_bit()


[Previous] [Contents] [Index] [Next]