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

pa_channel_map* pa_channel_map_init_stereo ( pa_channel_map m  ) 

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

Definition at line 187 of file channelmap.c.

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

                                                              {
    pa_assert(m);

    pa_channel_map_init(m);

    m->channels = 2;
    m->map[0] = PA_CHANNEL_POSITION_LEFT;
    m->map[1] = PA_CHANNEL_POSITION_RIGHT;
    return m;
}


Generated by  Doxygen 1.6.0   Back to index