mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
rename pa_simple_get_playback_latency() to pa_simple_get_latency() and allow its usage on capture streams
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@939 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
acc6552356
commit
cc61b57a32
3 changed files with 4 additions and 6 deletions
|
|
@ -78,8 +78,8 @@ int main(PA_GCC_UNUSED int argc, char*argv[]) {
|
|||
#if 0
|
||||
pa_usec_t latency;
|
||||
|
||||
if ((latency = pa_simple_get_playback_latency(s, &error)) == (pa_usec_t) -1) {
|
||||
fprintf(stderr, __FILE__": pa_simple_get_playback_latency() failed: %s\n", pa_strerror(error));
|
||||
if ((latency = pa_simple_get_latency(s, &error)) == (pa_usec_t) -1) {
|
||||
fprintf(stderr, __FILE__": pa_simple_get_latency() failed: %s\n", pa_strerror(error));
|
||||
goto finish;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue