naev 0.12.5
alVoice Struct Reference

Represents a voice in the game. More...

Data Fields

struct alVoice_ * prev
struct alVoice_ * next
int id
voice_state_t state
unsigned int flags
ALfloat pos [3]
ALfloat vel [3]
ALuint source
ALuint buffer

Detailed Description

Represents a voice in the game.

A voice would be any object that is creating sound.

Definition at line 98 of file sound.c.

Field Documentation

◆ buffer

ALuint alVoice::buffer

Buffer attached to the voice.

Definition at line 110 of file sound.c.

◆ flags

unsigned int alVoice::flags

Voice flags.

Definition at line 105 of file sound.c.

◆ id

int alVoice::id

Identifier of the voice.

Definition at line 102 of file sound.c.

◆ next

struct alVoice_* alVoice::next

Linked list next member.

Definition at line 100 of file sound.c.

◆ pos

ALfloat alVoice::pos[3]

Position of the voice.

Definition at line 107 of file sound.c.

◆ prev

struct alVoice_* alVoice::prev

Linked list previous member.

Definition at line 99 of file sound.c.

◆ source

ALuint alVoice::source

Source current in use.

Definition at line 109 of file sound.c.

◆ state

voice_state_t alVoice::state

Current state of the sound.

Definition at line 104 of file sound.c.

◆ vel

ALfloat alVoice::vel[3]

Velocity of the voice.

Definition at line 108 of file sound.c.


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