size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int getputidx,
+ size_t channels, size_t frames, int getputidx,
adpcm_state_t *states);
typedef struct {
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int putidx,
+ size_t channels, size_t frames, int putidx,
adpcm_state_t *states)
{
#define PUT16_LABELS
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int getidx,
+ size_t channels, size_t frames, int getidx,
adpcm_state_t *states)
{
#define GET16_LABELS
size_t frames = snd_pcm_mmap_playback_xfer(slave, size - xfer);
adpcm->func(areas, offset,
snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
- frames, pcm->channels,
+ pcm->channels, frames,
adpcm->getput_idx, adpcm->states);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
size_t frames = snd_pcm_mmap_capture_xfer(slave, size - xfer);
adpcm->func(snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
areas, offset,
- frames, pcm->channels,
+ pcm->channels, frames,
adpcm->getput_idx, adpcm->states);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int getputidx);
+ size_t channels, size_t frames, int getputidx);
typedef struct {
/* This field need to be the first */
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int putidx)
+ size_t channels, size_t frames, int putidx)
{
#define PUT16_LABELS
#include "plugin_ops.h"
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int getidx)
+ size_t channels, size_t frames, int getidx)
{
#define GET16_LABELS
#include "plugin_ops.h"
size_t frames = snd_pcm_mmap_playback_xfer(slave, size - xfer);
alaw->func(areas, offset,
snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
- frames, pcm->channels,
+ pcm->channels, frames,
alaw->getput_idx);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
size_t frames = snd_pcm_mmap_capture_xfer(slave, size - xfer);
alaw->func(snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
areas, offset,
- frames, pcm->channels,
+ pcm->channels, frames,
alaw->getput_idx);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
static void linear_transfer(const snd_pcm_channel_area_t *src_areas, size_t src_offset,
const snd_pcm_channel_area_t *dst_areas, size_t dst_offset,
- size_t frames, size_t channels, int convidx)
+ size_t channels, size_t frames, int convidx)
{
#define CONV_LABELS
#include "plugin_ops.h"
size_t frames = snd_pcm_mmap_playback_xfer(slave, size - xfer);
linear_transfer(areas, offset,
snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
- frames, pcm->channels, linear->conv_idx);
+ pcm->channels, frames, linear->conv_idx);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
break;
size_t frames = snd_pcm_mmap_capture_xfer(slave, size - xfer);
linear_transfer(snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
areas, offset,
- frames, pcm->channels, linear->conv_idx);
+ pcm->channels, frames, linear->conv_idx);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
break;
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int getputidx);
+ size_t channels, size_t frames, int getputidx);
typedef struct {
/* This field need to be the first */
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int putidx)
+ size_t channels, size_t frames, int putidx)
{
#define PUT16_LABELS
#include "plugin_ops.h"
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames, size_t channels, int getidx)
+ size_t channels, size_t frames, int getidx)
{
#define GET16_LABELS
#include "plugin_ops.h"
size_t frames = snd_pcm_mmap_playback_xfer(slave, size - xfer);
mulaw->func(areas, offset,
snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
- frames, pcm->channels,
+ pcm->channels, frames,
mulaw->getput_idx);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
size_t frames = snd_pcm_mmap_capture_xfer(slave, size - xfer);
mulaw->func(snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
areas, offset,
- frames, pcm->channels,
+ pcm->channels, frames,
mulaw->getput_idx);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
size_t src_offset,
const snd_pcm_channel_area_t *dst_areas,
size_t dst_offset,
- size_t frames,
size_t dst_channels,
+ size_t frames,
route_params_t *params)
{
size_t dst_channel;
size_t frames = snd_pcm_mmap_playback_xfer(slave, size - xfer);
route_transfer(areas, offset,
snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
- frames, slave->channels, &route->params);
+ slave->channels, frames, &route->params);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
break;
size_t frames = snd_pcm_mmap_capture_xfer(slave, size - xfer);
route_transfer(snd_pcm_mmap_areas(slave), snd_pcm_mmap_offset(slave),
areas, offset,
- frames, pcm->channels, &route->params);
+ pcm->channels, frames, &route->params);
err = snd_pcm_mmap_forward(slave, frames);
if (err < 0)
break;