comparison src/audio/nto/SDL_nto_audio.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children 5f6550e5184f
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
34 struct SDL_PrivateAudioData 34 struct SDL_PrivateAudioData
35 { 35 {
36 /* The audio device handle */ 36 /* The audio device handle */
37 int cardno; 37 int cardno;
38 int deviceno; 38 int deviceno;
39 snd_pcm_t* audio_handle; 39 snd_pcm_t *audio_handle;
40 40
41 /* The audio file descriptor */ 41 /* The audio file descriptor */
42 int audio_fd; 42 int audio_fd;
43 43
44 /* The parent process id, to detect when application quits */ 44 /* The parent process id, to detect when application quits */
45 pid_t parent; 45 pid_t parent;
46 46
47 /* Raw mixing buffer */ 47 /* Raw mixing buffer */
48 Uint8* pcm_buf; 48 Uint8 *pcm_buf;
49 Uint32 pcm_len; 49 Uint32 pcm_len;
50 50
51 /* QSA parameters */ 51 /* QSA parameters */
52 snd_pcm_channel_status_t cstatus; 52 snd_pcm_channel_status_t cstatus;
53 snd_pcm_channel_params_t cparams; 53 snd_pcm_channel_params_t cparams;
54 snd_pcm_channel_setup_t csetup; 54 snd_pcm_channel_setup_t csetup;
55 }; 55 };
56 56
57 #define cardno (this->hidden->cardno) 57 #define cardno (this->hidden->cardno)
58 #define deviceno (this->hidden->deviceno) 58 #define deviceno (this->hidden->deviceno)
59 #define audio_handle (this->hidden->audio_handle) 59 #define audio_handle (this->hidden->audio_handle)
64 #define cstatus (this->hidden->cstatus) 64 #define cstatus (this->hidden->cstatus)
65 #define cparams (this->hidden->cparams) 65 #define cparams (this->hidden->cparams)
66 #define csetup (this->hidden->csetup) 66 #define csetup (this->hidden->csetup)
67 67
68 #endif /* __SDL_NTO_AUDIO_H__ */ 68 #endif /* __SDL_NTO_AUDIO_H__ */
69 /* vi: set ts=4 sw=4 expandtab: */