mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Remove description
Documentation should go somewhere else
This commit is contained in:
parent
672e5d8fa6
commit
523868d6bd
15 changed files with 228 additions and 259 deletions
|
|
@ -117,21 +117,21 @@ static const double min_freq = 0.0;
|
|||
static const double max_freq = 50000000.0;
|
||||
|
||||
static const SpaPropRangeInfo volume_range[] = {
|
||||
{ "min", "Minimum value", { sizeof (double), &min_volume } },
|
||||
{ "max", "Maximum value", { sizeof (double), &max_volume } },
|
||||
{ "min", { sizeof (double), &min_volume } },
|
||||
{ "max", { sizeof (double), &max_volume } },
|
||||
};
|
||||
|
||||
static const uint32_t wave_val_sine = 0;
|
||||
static const uint32_t wave_val_square = 1;
|
||||
|
||||
static const SpaPropRangeInfo wave_range[] = {
|
||||
{ "sine", "Sine", { sizeof (uint32_t), &wave_val_sine } },
|
||||
{ "square", "Square", { sizeof (uint32_t), &wave_val_square } },
|
||||
{ "sine", { sizeof (uint32_t), &wave_val_sine } },
|
||||
{ "square", { sizeof (uint32_t), &wave_val_square } },
|
||||
};
|
||||
|
||||
static const SpaPropRangeInfo freq_range[] = {
|
||||
{ "min", "Minimum value", { sizeof (double), &min_freq } },
|
||||
{ "max", "Maximum value", { sizeof (double), &max_freq } },
|
||||
{ "min", { sizeof (double), &min_freq } },
|
||||
{ "max", { sizeof (double), &max_freq } },
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
@ -145,25 +145,25 @@ enum {
|
|||
static const SpaPropInfo prop_info[] =
|
||||
{
|
||||
{ PROP_ID_WAVE, offsetof (SpaAudioTestSrcProps, wave),
|
||||
"wave", "Oscillator waveform",
|
||||
"wave",
|
||||
SPA_PROP_FLAG_READWRITE,
|
||||
SPA_PROP_TYPE_UINT32, sizeof (uint32_t),
|
||||
SPA_PROP_RANGE_TYPE_ENUM, SPA_N_ELEMENTS (wave_range), wave_range,
|
||||
NULL },
|
||||
{ PROP_ID_FREQ, offsetof (SpaAudioTestSrcProps, freq),
|
||||
"freq", "Frequency of test signal. The sample rate needs to be at least 4 times higher",
|
||||
"freq",
|
||||
SPA_PROP_FLAG_READWRITE,
|
||||
SPA_PROP_TYPE_DOUBLE, sizeof (double),
|
||||
SPA_PROP_RANGE_TYPE_MIN_MAX, 2, freq_range,
|
||||
NULL },
|
||||
{ PROP_ID_VOLUME, offsetof (SpaAudioTestSrcProps, volume),
|
||||
"volume", "The Volume factor",
|
||||
"volume",
|
||||
SPA_PROP_FLAG_READWRITE,
|
||||
SPA_PROP_TYPE_DOUBLE, sizeof (double),
|
||||
SPA_PROP_RANGE_TYPE_MIN_MAX, 2, volume_range,
|
||||
NULL },
|
||||
{ PROP_ID_LIVE, offsetof (SpaAudioTestSrcProps, live),
|
||||
"live", "Timestamp against the clock",
|
||||
"live",
|
||||
SPA_PROP_FLAG_READWRITE,
|
||||
SPA_PROP_TYPE_BOOL, sizeof (bool),
|
||||
SPA_PROP_RANGE_TYPE_NONE, 0, NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue