コード例 #1
0
ファイル: effect.c プロジェクト: mommel/backend
static int effect_init(void)
{
	int err;
	err  = ausrc_register(&ausrc, "effect", src_alloc);
	err |= auplay_register(&auplay, "effect", play_alloc);

	return err;
}
コード例 #2
0
ファイル: oss.c プロジェクト: FihlaTV/BareSip-Android
static int module_init(void)
{
	int err;

	err  = ausrc_register(&ausrc, "oss", src_alloc);
	err |= auplay_register(&auplay, "oss", play_alloc);

	return err;
}
コード例 #3
0
ファイル: sndio.c プロジェクト: Studio-Link-v2/baresip
static int sndio_init(void)
{
	int err = 0;

	err |= ausrc_register(&ausrc, "sndio", src_alloc);
	err |= auplay_register(&auplay, "sndio", play_alloc);

	return err;
}
コード例 #4
0
ファイル: coreaudio.c プロジェクト: AmesianX/baresip
static int module_init(void)
{
	int err;

	err  = auplay_register(&auplay, "coreaudio", coreaudio_player_alloc);
	err |= ausrc_register(&ausrc, "coreaudio", coreaudio_recorder_alloc);

	return err;
}
コード例 #5
0
ファイル: winwave.c プロジェクト: FihlaTV/BareSip-Android
static int ww_init(void)
{
	int err;

	play_dev_count = waveOutGetNumDevs();
	DEBUG_INFO("ww_init: %d output devices found\n", play_dev_count);
	src_dev_count = waveInGetNumDevs();
	DEBUG_INFO("ww_init: %d input devices found\n", src_dev_count);

	err  = ausrc_register(&ausrc, "winwave", src_alloc);
	err |= auplay_register(&auplay, "winwave", play_alloc);

	return err;
}
コード例 #6
0
ファイル: winwave.c プロジェクト: mralexgray/baresip
static int ww_init(void)
{
	int play_dev_count, src_dev_count;
	int err;

	play_dev_count = waveOutGetNumDevs();
	src_dev_count = waveInGetNumDevs();

	re_printf("winwave: output devices: %d, input devices: %d\n",
		  play_dev_count, src_dev_count);

	err  = ausrc_register(&ausrc, "winwave", winwave_src_alloc);
	err |= auplay_register(&auplay, "winwave", winwave_play_alloc);

	return err;
}