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

pa_channel_map* pa_channel_map_init_mono ( pa_channel_map m  ) 

Initialize the specified channel map for monoaural audio and return a pointer to it

Definition at line 177 of file channelmap.c.

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

                                                            {
    pa_assert(m);

    pa_channel_map_init(m);

    m->channels = 1;
    m->map[0] = PA_CHANNEL_POSITION_MONO;
    return m;
}


Generated by  Doxygen 1.6.0   Back to index