medfall

A super great game engine
Log | Files | Refs

linux_audio_output.h (186B)


      1 #pragma once
      2 
      3 #include <alsa/asoundlib.h>
      4 
      5 #include "platform_thread.h"
      6 
      7 struct AudioOutputDevice {
      8 	snd_pcm_t * pcm;
      9 	Thread thread;
     10 	atomic_u32 shutting_down;
     11 
     12 	AudioBuffer buffer;
     13 };