It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#ifndef _CHANNEL_MIXER_
|
||||
#define _CHANNEL_MIXER_
|
||||
|
||||
/***********************************************************************
|
||||
* AUTHOR: Marcus Overhagen
|
||||
* FILE: ChannelMixer.h
|
||||
* DESCR: Converts mono into stereo
|
||||
* stereo into mono (this one isn't very good)
|
||||
* (multiple channel support should be added in the future)
|
||||
***********************************************************************/
|
||||
|
||||
namespace MediaKitPrivate {
|
||||
|
||||
class ChannelMixer
|
||||
{
|
||||
public:
|
||||
static status_t
|
||||
mix(void *dest, int dest_chan_count,
|
||||
const void *source, int source_chan_count,
|
||||
int framecount, uint32 format);
|
||||
|
||||
static status_t
|
||||
mix_2_to_1(void *dest, const void *source, int framecount, uint32 format);
|
||||
|
||||
static status_t
|
||||
mix_1_to_2(void *dest, const void *source, int framecount, uint32 format);
|
||||
|
||||
};
|
||||
|
||||
} //namespace MediaKitPrivate
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user