Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_mixer_set_bit.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_mixer_set_bit.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_mixer_set_bit.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_mixer_set_bit.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/audio/libs/snd_mixer_set_bit.html on line 109

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/audio/libs/snd_mixer_set_bit.html on line 109