* #13253: pulse: fix device selection

The old device selections were being saved whenever we destroyed the
pulse stream, overriding and thereby breaking new device selection.
This commit is contained in:
Tristan Matthews
2012-07-17 13:46:23 -04:00
parent bce1e2f9cb
commit 3109b201d0
3 changed files with 38 additions and 47 deletions

View File

@ -55,7 +55,7 @@ class AudioStream {
* @param audio sampling rate
* @param device name
*/
AudioStream(pa_context *, pa_threaded_mainloop *, const char *, int, unsigned, std::string&);
AudioStream(pa_context *, pa_threaded_mainloop *, const char *, int, unsigned, const std::string&);
~AudioStream();