![]() |
naev 0.12.5
|

Data Fields | |
| char * | name |
| int | ok |
| LuaAudioType_t | type |
| int | nocleanup |
| ALuint | source |
| ALuint | slot |
| double | volume |
| LuaBuffer_t * | buf |
| SDL_mutex * | lock |
| OggVorbis_File | stream |
| vorbis_info * | info |
| ALenum | format |
| ALfloat | rg_scale_factor |
| ALfloat | rg_max_scale |
| ALuint | stream_buffers [2] |
| int | active |
| SDL_Thread * | th |
| SDL_cond * | cond |
Definition at line 27 of file nlua_audio.h.
| int LuaAudio_t::active |
Active buffer.
Definition at line 48 of file nlua_audio.h.
| LuaBuffer_t* LuaAudio_t::buf |
Shared buffer.
Definition at line 36 of file nlua_audio.h.
| SDL_cond* LuaAudio_t::cond |
For message passing.
Definition at line 50 of file nlua_audio.h.
| ALenum LuaAudio_t::format |
Stream format.
Definition at line 43 of file nlua_audio.h.
| vorbis_info* LuaAudio_t::info |
Information of the tream.
Definition at line 42 of file nlua_audio.h.
| SDL_mutex* LuaAudio_t::lock |
Lock for vorbis file stream. This should be locked only when stream is accessed and not while soundLock() is active.
Definition at line 39 of file nlua_audio.h.
| char* LuaAudio_t::name |
Filename of the audio.
Definition at line 28 of file nlua_audio.h.
| int LuaAudio_t::nocleanup |
No need to clean up this source.
Definition at line 31 of file nlua_audio.h.
| int LuaAudio_t::ok |
The source and audio is valid if ok==0.
Definition at line 29 of file nlua_audio.h.
| ALfloat LuaAudio_t::rg_max_scale |
Replaygain maximum scale factor before clipping.
Definition at line 46 of file nlua_audio.h.
| ALfloat LuaAudio_t::rg_scale_factor |
Replaygain scale factor.
Definition at line 44 of file nlua_audio.h.
| ALuint LuaAudio_t::slot |
Effects.
Definition at line 33 of file nlua_audio.h.
| ALuint LuaAudio_t::source |
Source to use.
Definition at line 32 of file nlua_audio.h.
| OggVorbis_File LuaAudio_t::stream |
Vorbis file stream.
Definition at line 41 of file nlua_audio.h.
| ALuint LuaAudio_t::stream_buffers[2] |
Double buffering for streaming.
Definition at line 47 of file nlua_audio.h.
| SDL_Thread* LuaAudio_t::th |
Buffering thread.
Definition at line 49 of file nlua_audio.h.
| LuaAudioType_t LuaAudio_t::type |
Type of audio.
Definition at line 30 of file nlua_audio.h.
| double LuaAudio_t::volume |
Volume setting.
Definition at line 34 of file nlua_audio.h.