General

Profile

Dmitry Vagin

Issues

Activity

October 20, 2015

20:11 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581: oss4: fix high CPU usage (infinite loop) on pause.
John Lindgren wrote:
> The new patch still breaks drain() because you removed poll_wake(). Read the documentation a...
14:52 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581: oss4: fix high CPU usage (infinite loop) on pause.
updated patch with poll().
07:10 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581: oss4: fix high CPU usage (infinite loop) on pause.
fd in nonblock mode
poll(fd);
write(fd);
==
fd in block mode
write(fd)
07:07 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581: oss4: fix high CPU usage (infinite loop) on pause.
John Lindgren wrote:
> Blocking mode is not an option since write_audio() needs to return immediately. So your patc...

October 19, 2015

21:51 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581: oss4: fix high CPU usage (infinite loop) on pause.
Little update for oss.h
21:46 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581: oss4: fix high CPU usage (infinite loop) on pause.
for playing music do loop { write_audio(); period_wait(); }
old code:
period_wait = poll 2 descriptors #1 pipe d...
08:26 Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES Bug #581 (Closed): oss4: fix high CPU usage (infinite loop) on pause.
Infinite loop in oss4 when music on pause.

Also available in: Atom