audio_int.h (825a215c003cd028e26c7d19aa5049d957345f43) audio_int.h (37a54d054f5aac43cb5721c68954b8b76d0db12d)
1/*
2 * QEMU Audio subsystem header
3 *
4 * Copyright (c) 2003-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

--- 229 unchanged lines hidden (view full) ---

238void audio_pcm_init_info (struct audio_pcm_info *info, struct audsettings *as);
239void audio_pcm_info_clear_buf (struct audio_pcm_info *info, void *buf, int len);
240
241int audio_bug (const char *funcname, int cond);
242void *audio_calloc (const char *funcname, int nmemb, size_t size);
243
244void audio_run(AudioState *s, const char *msg);
245
1/*
2 * QEMU Audio subsystem header
3 *
4 * Copyright (c) 2003-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

--- 229 unchanged lines hidden (view full) ---

238void audio_pcm_init_info (struct audio_pcm_info *info, struct audsettings *as);
239void audio_pcm_info_clear_buf (struct audio_pcm_info *info, void *buf, int len);
240
241int audio_bug (const char *funcname, int cond);
242void *audio_calloc (const char *funcname, int nmemb, size_t size);
243
244void audio_run(AudioState *s, const char *msg);
245
246const char *audio_application_name(void);
247
246typedef struct RateCtl {
247 int64_t start_ticks;
248 int64_t bytes_sent;
249} RateCtl;
250
251void audio_rate_start(RateCtl *rate);
252size_t audio_rate_get_bytes(struct audio_pcm_info *info, RateCtl *rate,
253 size_t bytes_avail);

--- 32 unchanged lines hidden ---
248typedef struct RateCtl {
249 int64_t start_ticks;
250 int64_t bytes_sent;
251} RateCtl;
252
253void audio_rate_start(RateCtl *rate);
254size_t audio_rate_get_bytes(struct audio_pcm_info *info, RateCtl *rate,
255 size_t bytes_avail);

--- 32 unchanged lines hidden ---