alsaaudio.c (fe8f096b16bf2328ec615d4314f06cd5545f32e5) | alsaaudio.c (749bc4bf0bcd36e38b86d75a98f287f1941394cb) |
---|---|
1/* 2 * QEMU ALSA audio driver 3 * 4 * Copyright (c) 2005 Vassili Karpov (malc) 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 8 unchanged lines hidden (view full) --- 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include <alsa/asoundlib.h> | 1/* 2 * QEMU ALSA audio driver 3 * 4 * Copyright (c) 2005 Vassili Karpov (malc) 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 8 unchanged lines hidden (view full) --- 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include <alsa/asoundlib.h> |
25#include "vl.h" | 25#include "qemu-common.h" 26#include "audio.h" |
26 27#define AUDIO_CAP "alsa" 28#include "audio_int.h" 29 30typedef struct ALSAVoiceOut { 31 HWVoiceOut hw; 32 void *pcm_buf; 33 snd_pcm_t *handle; --- 967 unchanged lines hidden --- | 27 28#define AUDIO_CAP "alsa" 29#include "audio_int.h" 30 31typedef struct ALSAVoiceOut { 32 HWVoiceOut hw; 33 void *pcm_buf; 34 snd_pcm_t *handle; --- 967 unchanged lines hidden --- |