4#ifndef RAGE_SOUND_READER_CHANNEL_SPLIT
5#define RAGE_SOUND_READER_CHANNEL_SPLIT
9#include "RageSoundReader.h"
23 int GetLength()
const override;
24 int GetLength_Fast()
const override;
25 int SetPosition(
int iFrame)
override;
26 int Read(
float* pBuf,
int iFrames)
override;
27 int GetSampleRate()
const override;
28 unsigned GetNumChannels()
const override;
29 bool SetProperty(
const std::string& sProperty,
float fValue)
override;
30 int GetNextSourceFrame()
const override;
31 float GetStreamToSourceRatio()
const override;
32 std::string GetError()
const override;
34 void AddSourceChannelToSound(
int iFromChannel,
int iToChannel);
47 ChannelMap(
int iFromChannel,
int iToChannel)
49 m_iFromChannel = iFromChannel;
50 m_iToChannel = iToChannel;
53 std::vector<ChannelMap> m_aChannels;
57 int m_iNumOutputChannels;
Definition RageSoundReader_ChannelSplit.h:14
Definition RageSoundReader.h:7
Definition RageSoundReader_ChannelSplit.cpp:49
Definition RageSoundReader_ChannelSplit.h:61