/** * @file audiounit.h AudioUnit sound driver -- Internal interface * * Copyright (C) 2010 Creytiv.com */ AudioComponent output_comp; struct audiosess; struct audiosess_st; typedef void (audiosess_int_h)(bool start, void *arg); int audiosess_alloc(struct audiosess_st **stp, audiosess_int_h *inth, void *arg); void audiosess_interrupt(bool interrupted); int audiounit_player_alloc(struct auplay_st **stp, const struct auplay *ap, struct auplay_prm *prm, const char *device, auplay_write_h *wh, void *arg); int audiounit_recorder_alloc(struct ausrc_st **stp, const struct ausrc *as, struct media_ctx **ctx, struct ausrc_prm *prm, const char *device, ausrc_read_h *rh, ausrc_error_h *errh, void *arg);