Mercurial > audlegacy-plugins
comparison src/OSS4/audio.c @ 2172:2c6a11b88271
Reset the volume to 100 when we stop playback.
That way, apps that start after Audacious will have the correct volume.
A fix that sets the volume on playback start will follow.
author | Jonathan Schleifer <js-audacious@webkeks.org> |
---|---|
date | Sun, 18 Nov 2007 12:19:12 +0100 |
parents | f86cb7fc1d4f |
children | e31befc7f7c4 |
comparison
equal
deleted
inserted
replaced
2170:02cfac0efbdc | 2172:2c6a11b88271 |
---|---|
432 { | 432 { |
433 if (!going) | 433 if (!going) |
434 return; | 434 return; |
435 going = 0; | 435 going = 0; |
436 | 436 |
437 oss_set_volume(100, 100); | |
438 | |
437 g_thread_join(buffer_thread); | 439 g_thread_join(buffer_thread); |
438 | 440 |
439 g_free(device_name); | 441 g_free(device_name); |
440 oss_free_convert_buffer(); | 442 oss_free_convert_buffer(); |
441 wr_index = 0; | 443 wr_index = 0; |