Skip to content

Commit

Permalink
#409: we need to keep track of what codec to use when resuming sound
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@4113 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 9, 2013
1 parent 4f67512 commit 3c16346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/server/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def suspend(self, ui, wd):
if self.sound_source is None:
self.resume_sound = False
else:
self.resume_sound = True
self.resume_sound = self.sound_source.codec
self.stop_sending_sound()
for wid in wd.keys():
ws = self.window_sources.get(wid)
Expand All @@ -397,7 +397,7 @@ def resume(self, ui, wd):
if ws:
ws.resume(window)
if self.resume_sound:
self.start_sending_sound()
self.start_sending_sound(self.resume_sound)
self.do_send_cursor()


Expand Down

0 comments on commit 3c16346

Please sign in to comment.