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_group_write.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_group_write.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_group_write.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_group_write.html on line 8

snd_mixer_group_write()

Set a mixer group's configurable parameters

Synopsis:

#include <sys/asoundlib.h>

int snd_mixer_group_write(
       snd_mixer_t *handle, 
       snd_mixer_group_t *group );

Arguments:

handle
The handle for the mixer device. This must have been created by snd_mixer_open().
group
A pointer to a snd_mixer_group_t, structure that contains the information you want to set for the mixer group.

Library:

libasound.so

Description:

The snd_mixer_group_write() function writes the snd_mixer_group_t structure to the driver. This structure contains the volume levels and mutes associated with the group.

Returns:

Zero on success, or a negative value on error.

Errors:

-EBUSY
The group has been modified by another application.
-EINVAL
Invalid handle argument.
-ENXIO
The group wasn't found.

Classification:

QNX Neutrino

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

Caveats:

The write may fail with -EBUSY if another application has modified the group, and this application hasn't read that event yet using snd_mixer_read().

See also:

snd_mixer_group_read(), snd_mixer_group_t, snd_mixer_groups()


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_group_write.html on line 143

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_group_write.html on line 143