Commit Graph

14 Commits

Author SHA1 Message Date
Anton Yabchinskiy
c29239a6f9 Add missing check for AO_ENABLED in audio_driver_ao.cpp 2014-11-28 17:09:22 +03:00
Anton Yabchinskiy
3e09c09915 Update the list of authors in libao driver sources 2014-11-24 15:56:02 +03:00
Anton Yabchinskiy
298f6be9bf Include cstring header for memset() 2014-11-22 17:54:41 +03:00
Anton Yabchinskiy
29be6da54a Cast samples_in to samples_out with reinterpret_cast<int16_t*> 2014-11-22 17:54:00 +03:00
Anton Yabchinskiy
4a3e240732 samples_in is an instance variable, prefix it with ad-> 2014-11-22 17:52:00 +03:00
Anton Yabchinskiy
e60c41be9f Fix syntax error in call to ao_play() 2014-11-22 17:49:51 +03:00
Anton Yabchinskiy
e58731ee01 Set libao sample format to 16 bits
Some plugins don't support 32 bit samples.
2014-11-22 17:37:27 +03:00
Anton Yabchinskiy
ba6d83f3e1 Check return value of ao_play() 2014-11-22 13:38:11 +03:00
Anton Yabchinskiy
f9db628d17 Write audio samples to libao device 2014-11-22 13:38:11 +03:00
Anton Yabchinskiy
4c8bfecc43 Change 0 to NULL for ao_open_live() and device
It's NULL in other places.
2014-11-22 13:38:11 +03:00
Anton Yabchinskiy
3c2e35ada9 Minor code formatting fixes in ao driver 2014-11-22 13:38:11 +03:00
Anton Yabchinskiy
2f92e2a67a Open/close libao audio device 2014-11-22 13:38:11 +03:00
Anton Yabchinskiy
9fb49e56a4 Initialize/shutdown libao 2014-11-22 13:38:11 +03:00
Anton Yabchinskiy
c1f62a04d7 Import sources for libao driver (unfinished, based on dummy driver) 2014-11-22 13:37:24 +03:00