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
Use the -l asound option with
qcc
to link against this library.
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 |