예제 #1
0
파일: device.c 프로젝트: FOSSRIT/baresip
static void destructor(void *arg)
{
	struct device *dev = arg;

	device_stop(dev);

	list_unlink(&dev->le);
}
예제 #2
0
파일: src.c 프로젝트: AmesianX/baresip
static void ausrc_destructor(void *arg)
{
	struct ausrc_st *st = arg;

	device_stop(st->dev);

	mem_deref(st->dev);
}
예제 #3
0
void rt_stop(struct rt_t *rt)
{
    size_t n;

    rt->finished = true;

    if (rt->npt > 0) {
        if (pthread_join(rt->ph, NULL) != 0)
            abort();
    }

    /* Stop audio rolling on devices */

    for (n = 0; n < rt->ndv; n++)
        device_stop(rt->dv[n]);
}
예제 #4
0
void beckerport_device::update_port(void)
{
	device_stop();
	m_dwtcpport = m_dwconfigport.read_safe(65504);
	device_start();
}