[MPlayer-dev-eng] Patch: Jack audio output

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Nov 3 18:09:58 CET 2004


Hi,

I was about to commit when I saw this:

> +	approx_bytes_in_jackd = JACK_GetJackBufferedBytes(driver) * 2;

[...]
>  static void reset()
>  {
>  	JACK_Reset(driver);
> +	latency = JACK_GetJackLatency(driver);
> +	// Rather rough way to find out the rough number of bytes buffered
> +	approx_bytes_in_jackd = JACK_GetJackBufferedBytes(driver);
>  }

I guess this should be * 2 in both cases? I will apply as soon as I get
a reply.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list