/***
This file is part of PulseAudio.
- Copyright (c) 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved.
PulseAudio is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
PA_MODULE_VERSION(PACKAGE_VERSION);
PA_MODULE_LOAD_ONCE(false);
PA_MODULE_USAGE(
- "name=<name of the sink, to be prefixed> "
"sink_name=<name of sink> "
"sink_properties=<properties for the sink> "
- "namereg_fail=<when false attempt to synthesise new sink_name if it is already taken> "
- "device=<ALSA device> "
- "device_id=<ALSA card index> "
"format=<sample format> "
"rate=<sample rate> "
"channels=<number of channels> "
pa_usec_t timestamp;
pa_usec_t timestamp_written;
- char* device_name;
bool first;
pa_rtpoll_item *rtpoll_item;
};
static const char* const valid_modargs[] = {
- "name",
"sink_name",
"sink_properties",
- "namereg_fail",
- "device",
- "device_id",
"format",
"rate",
"channels",
u->rtpoll_item = NULL;
}
- pa_log_info("Device suspended...[%s]", u->device_name);
+ pa_log_info("Device suspended...");
return 0;
}
pa_assert(PA_SINK_IS_OPENED(u->sink->thread_info.state));
if ((r = suspend(u)) < 0)
return r;
-
break;
}
/***
This file is part of PulseAudio.
- Copyright (c) 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved.
PulseAudio is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
PA_MODULE_VERSION(PACKAGE_VERSION);
PA_MODULE_LOAD_ONCE(false);
PA_MODULE_USAGE(
- "name=<name of the source, to be prefixed> "
"source_name=<name of source> "
"source_properties=<properties for the source> "
- "namereg_fail=<when false attempt to synthesise new source_name if it is already taken> "
- "device=<ALSA device> "
- "device_id=<ALSA card index> "
"format=<sample format> "
"rate=<sample rate> "
"channels=<number of channels> "
pa_usec_t block_usec;
pa_usec_t timestamp;
- char* device_name;
bool first;
pa_rtpoll_item *rtpoll_item;
};
static const char* const valid_modargs[] = {
- "name",
"source_name",
"source_properties",
- "namereg_fail",
- "device",
- "device_id",
"format",
"rate",
"channels",
u->rtpoll_item = NULL;
}
- pa_log_info("Device suspended...[%s]", u->device_name);
+ pa_log_info("Device suspended...");
return 0;
}
pa_assert(PA_SOURCE_IS_OPENED(u->source->thread_info.state));
if ((r = suspend(u)) < 0)
return r;
-
break;
}