mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[outputs] Refactor outputs some more, eg change callback system
This commit is contained in:
@@ -267,9 +267,6 @@ input_write(struct evbuffer *evbuf, struct media_quality *quality, short flags)
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Change of quality. Note, the marker is placed at the last position of the
|
||||
// last byte we wrote, even though that of course doesn't have the new quality
|
||||
// yet. Not intuitive, but input_read() will understand.
|
||||
if (quality && !quality_is_equal(quality, &input_buffer.cur_write_quality))
|
||||
{
|
||||
input_buffer.cur_write_quality = *quality;
|
||||
|
||||
Reference in New Issue
Block a user