mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 17:41:10 +00:00
it makes noise, but dies due to caching bugs
This commit is contained in:
parent
9691afb782
commit
916a698ac5
4 changed files with 152 additions and 123 deletions
|
@ -68,6 +68,10 @@ struct dma_s {
|
|||
int submission_chunk; //!< don't mix less than this #
|
||||
int samplepos; //!< in mono samples
|
||||
unsigned char *buffer; //!< destination for mixed sound
|
||||
/** Transfer mixed samples to the output.
|
||||
\param endtime sample end time (count = endtime - snd_paintedtime)
|
||||
*/
|
||||
void (*xfer) (int endtime);
|
||||
};
|
||||
|
||||
/** Describes the sound data.
|
||||
|
@ -187,6 +191,8 @@ extern struct cvar_s *snd_stereo_phase_separation;
|
|||
extern volatile dma_t *snd_shm;
|
||||
|
||||
extern snd_render_data_t snd_render_data;
|
||||
#define PAINTBUFFER_SIZE 512
|
||||
extern portable_samplepair_t snd_paintbuffer[PAINTBUFFER_SIZE * 2];
|
||||
|
||||
//@}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue