Qmmp
Loading...
Searching...
No Matches
ChannelMap Class Reference

#include <qmmp/channelmap.h>

Public Member Functions

 ChannelMap (int channels=0)
int mask () const
const ChannelMap remaped () const
const QString toString () const

Detailed Description

This class represents audio channel mapping.

Author
Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru

Constructor & Destructor Documentation

◆ ChannelMap()

ChannelMap ( int channels = 0)
explicit

Constructs channel mapping with internal order.

Parameters
channelsNumber channels

Member Function Documentation

◆ mask()

int mask ( ) const

Returns a mask with used channels.

◆ remaped()

const ChannelMap remaped ( ) const

Converts current channel order to internal.

◆ toString()

const QString toString ( ) const

Converts channel channel mapping to string representation (for debug purposes).


The documentation for this class was generated from the following file: