KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
aica_channel_t Struct Reference

AICA command payload data for AICA_CMD_CHAN. More...

#include <aica_comm.h>

Data Fields

uint32 cmd
 Command ID.
 
uint32 base
 Sample base in RAM.
 
uint32 type
 (8/16bit/ADPCM)
 
uint32 length
 Sample length.
 
uint32 loop
 Sample looping.
 
uint32 loopstart
 Sample loop start.
 
uint32 loopend
 Sample loop end.
 
uint32 freq
 Frequency.
 
uint32 vol
 Volume 0-255.
 
uint32 pan
 Pan 0-255.
 
uint32 pos
 Sample playback pos.
 
uint32 pad [5]
 Padding.
 

Detailed Description

AICA command payload data for AICA_CMD_CHAN.

This is the aica_cmd_t::cmd_data for AICA_CMD_CHAN. Make this 16 dwords long for two aica bus queues.

Field Documentation

◆ base

uint32 aica_channel_t::base

Sample base in RAM.

◆ cmd

uint32 aica_channel_t::cmd

Command ID.

◆ freq

uint32 aica_channel_t::freq

Frequency.

◆ length

uint32 aica_channel_t::length

Sample length.

◆ loop

uint32 aica_channel_t::loop

Sample looping.

◆ loopend

uint32 aica_channel_t::loopend

Sample loop end.

◆ loopstart

uint32 aica_channel_t::loopstart

Sample loop start.

◆ pad

uint32 aica_channel_t::pad[5]

Padding.

◆ pan

uint32 aica_channel_t::pan

Pan 0-255.

◆ pos

uint32 aica_channel_t::pos

Sample playback pos.

◆ type

uint32 aica_channel_t::type

(8/16bit/ADPCM)

◆ vol

uint32 aica_channel_t::vol

Volume 0-255.


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