1 /** 2 * @file coreaudio.h Apple Coreaudio sound driver -- internal API 3 * 4 * Copyright (C) 2010 Creytiv.com 5 */ 6 7 8 int audio_session_enable(void); 9 void audio_session_disable(void); 10 11 12 int coreaudio_player_alloc(struct auplay_st **stp, const struct auplay *ap, 13 struct auplay_prm *prm, const char *device, 14 auplay_write_h *wh, void *arg); 15 int coreaudio_recorder_alloc(struct ausrc_st **stp, const struct ausrc *as, 16 struct media_ctx **ctx, 17 struct ausrc_prm *prm, const char *device, 18 ausrc_read_h *rh, ausrc_error_h *errh, void *arg); 19