Skip to content

Commit cb01b08

Browse files
committed
Un-format reformatted code, and rename jack parameter to latency.
1 parent 7e1a6a3 commit cb01b08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cubeb_jack.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,9 +652,9 @@ cbjack_get_max_channel_count(cubeb * /*ctx*/, uint32_t * max_channels)
652652
}
653653

654654
static int
655-
cbjack_get_latency(cubeb_stream * stm, unsigned int * latency_ms)
655+
cbjack_get_latency(cubeb_stream * stm, unsigned int * latency)
656656
{
657-
*latency_ms = stm->context->jack_latency + cubeb_resampler_latency(stm->resampler.get());
657+
*latency = stm->context->jack_latency + cubeb_resampler_latency(stm->resampler.get());
658658
return CUBEB_OK;
659659
}
660660

src/cubeb_wasapi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2399,7 +2399,7 @@ int wasapi_stream_get_position(cubeb_stream * stm, uint64_t * position)
23992399
return CUBEB_OK;
24002400
}
24012401

2402-
int wasapi_stream_get_latency(cubeb_stream *stm, uint32_t *latency)
2402+
int wasapi_stream_get_latency(cubeb_stream * stm, uint32_t * latency)
24032403
{
24042404
XASSERT(stm && latency);
24052405

0 commit comments

Comments
 (0)