aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/audio.h6
-rw-r--r--audio/audio_int.h2
-rw-r--r--audio/audio_template.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/audio/audio.h b/audio/audio.h
index f234ad0f5..454ade260 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -27,7 +27,7 @@
#include "config-host.h"
#include "qemu-queue.h"
-typedef void (*audio_callback_fn_t) (void *opaque, int avail);
+typedef void (*audio_callback_fn) (void *opaque, int avail);
typedef enum {
AUD_FMT_U8,
@@ -108,7 +108,7 @@ SWVoiceOut *AUD_open_out (
SWVoiceOut *sw,
const char *name,
void *callback_opaque,
- audio_callback_fn_t callback_fn,
+ audio_callback_fn callback_fn,
struct audsettings *settings
);
@@ -129,7 +129,7 @@ SWVoiceIn *AUD_open_in (
SWVoiceIn *sw,
const char *name,
void *callback_opaque,
- audio_callback_fn_t callback_fn,
+ audio_callback_fn callback_fn,
struct audsettings *settings
);
diff --git a/audio/audio_int.h b/audio/audio_int.h
index 317c9fc11..06e313f83 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -50,7 +50,7 @@ struct audio_option {
struct audio_callback {
void *opaque;
- audio_callback_fn_t fn;
+ audio_callback_fn fn;
};
struct audio_pcm_info {
diff --git a/audio/audio_template.h b/audio/audio_template.h
index 70c4a8818..14c648c05 100644
--- a/audio/audio_template.h
+++ b/audio/audio_template.h
@@ -402,7 +402,7 @@ SW *glue (AUD_open_, TYPE) (
SW *sw,
const char *name,
void *callback_opaque ,
- audio_callback_fn_t callback_fn,
+ audio_callback_fn callback_fn,
struct audsettings *as
)
{