diff options
Diffstat (limited to 'audio/audio.c')
-rw-r--r-- | audio/audio.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/audio/audio.c b/audio/audio.c index 4248c1401..5e9d88bb1 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -21,7 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "vl.h" +#include "hw/hw.h" +#include "audio.h" +#include "console.h" +#include "qemu-timer.h" +#include "sysemu.h" #define AUDIO_CAP "audio" #include "audio_int.h" @@ -234,7 +238,7 @@ static char *audio_alloc_prefix (const char *s) return r; } -const char *audio_audfmt_to_string (audfmt_e fmt) +static const char *audio_audfmt_to_string (audfmt_e fmt) { switch (fmt) { case AUD_FMT_U8: @@ -260,7 +264,8 @@ const char *audio_audfmt_to_string (audfmt_e fmt) return "S16"; } -audfmt_e audio_string_to_audfmt (const char *s, audfmt_e defval, int *defaultp) +static audfmt_e audio_string_to_audfmt (const char *s, audfmt_e defval, + int *defaultp) { if (!strcasecmp (s, "u8")) { *defaultp = 0; |