Qmmp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ChannelMap Class Reference

#include <channelmap.h>

Inherits QList< Qmmp::ChannelPosition >.

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: