Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

pa_channel_map* pa_channel_map_init ( pa_channel_map m  ) 

Initialize the specified channel map and return a pointer to it

Definition at line 165 of file channelmap.c.

References pa_channel_map::channels, pa_channel_map::map, and PA_CHANNELS_MAX.

    unsigned c;

    m->channels = 0;

    for (c = 0; c < PA_CHANNELS_MAX; c++)
        m->map[c] = PA_CHANNEL_POSITION_INVALID;

    return m;

Generated by  Doxygen 1.6.0   Back to index