mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-23 08:56:40 -05:00
* add µlaw/alaw support
* abstracted resampler API
* add integer-only resampler ("trivial")
* show used resampler wherever useful
* add mixing/volume adjusting for float32ne and u8
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@294 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
8641af3c6d
commit
5f647c8fef
28 changed files with 3237 additions and 192 deletions
|
|
@ -324,7 +324,8 @@ static void get_sink_input_info_callback(struct pa_context *c, const struct pa_s
|
|||
"Sample Specification: %s\n"
|
||||
"Volume: 0x%03x (%0.2f dB)\n"
|
||||
"Buffer Latency: %0.0f usec\n"
|
||||
"Sink Latency: %0.0f usec\n",
|
||||
"Sink Latency: %0.0f usec\n"
|
||||
"Resample method: %s\n",
|
||||
i->index,
|
||||
i->name,
|
||||
i->owner_module != PA_INVALID_INDEX ? t : "n/a",
|
||||
|
|
@ -333,7 +334,8 @@ static void get_sink_input_info_callback(struct pa_context *c, const struct pa_s
|
|||
s,
|
||||
i->volume, pa_volume_to_dB(i->volume),
|
||||
(double) i->buffer_usec,
|
||||
(double) i->sink_usec);
|
||||
(double) i->sink_usec,
|
||||
i->resample_method ? i->resample_method : "n/a");
|
||||
}
|
||||
|
||||
static void get_source_output_info_callback(struct pa_context *c, const struct pa_source_output_info *i, int is_last, void *userdata) {
|
||||
|
|
@ -367,7 +369,8 @@ static void get_source_output_info_callback(struct pa_context *c, const struct p
|
|||
"Source: %u\n"
|
||||
"Sample Specification: %s\n"
|
||||
"Buffer Latency: %0.0f usec\n"
|
||||
"Source Latency: %0.0f usec\n",
|
||||
"Source Latency: %0.0f usec\n"
|
||||
"Resample method: %s\n",
|
||||
i->index,
|
||||
i->name,
|
||||
i->owner_module != PA_INVALID_INDEX ? t : "n/a",
|
||||
|
|
@ -375,7 +378,8 @@ static void get_source_output_info_callback(struct pa_context *c, const struct p
|
|||
i->source,
|
||||
s,
|
||||
(double) i->buffer_usec,
|
||||
(double) i->source_usec);
|
||||
(double) i->source_usec,
|
||||
i->resample_method ? i->resample_method : "n/a");
|
||||
}
|
||||
|
||||
static void get_sample_info_callback(struct pa_context *c, const struct pa_sample_info *i, int is_last, void *userdata) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue