diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-31 23:37:16 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-31 23:37:16 +0000 |
commit | 67b915a5dd52a05f8030cd9edc005effd9c8eea5 (patch) | |
tree | 247689b53ca52d7d9cb4fc9f7ff65f293b61e01a /oss.c | |
parent | bb27c19087ff0847484c111cbaf56a3fa7103684 (diff) | |
download | qemu-67b915a5dd52a05f8030cd9edc005effd9c8eea5.tar.gz qemu-67b915a5dd52a05f8030cd9edc005effd9c8eea5.tar.bz2 qemu-67b915a5dd52a05f8030cd9edc005effd9c8eea5.zip |
win32 port (initial patch by kazu)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@692 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'oss.c')
-rw-r--r-- | oss.c | 44 |
1 files changed, 43 insertions, 1 deletions
@@ -21,6 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "vl.h" + +#ifndef _WIN32 #include <fcntl.h> #include <errno.h> #include <stdio.h> @@ -33,7 +36,6 @@ #include <sys/ioctl.h> #include <sys/soundcard.h> -#include "vl.h" /* http://www.df.lth.se/~john_e/gems/gem002d.html */ /* http://www.multi-platforms.com/Tips/PopCount.htm */ @@ -510,3 +512,43 @@ void AUD_init (void) conf_fragsize = lsbindex (fsp); } + +#else + +void AUD_run (void) +{ +} + +int AUD_write (void *in_buf, int size) +{ + return 0; +} + +void AUD_reset (int rfreq, int rnchannels, audfmt_e rfmt) +{ +} + +void AUD_adjust_estimate (int _leftover) +{ +} + +int AUD_get_free (void) +{ + return 0; +} + +int AUD_get_live (void) +{ + return 0; +} + +int AUD_get_buffer_size (void) +{ + return 0; +} + +void AUD_init (void) +{ +} + +#endif |