Commit Graph

9 Commits

Author SHA1 Message Date
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