Use a dedicated structure to hold PA device infos instead of pa_sink_info and pa_source_info

This commit is contained in:
Adrien Béraud
2013-03-25 17:59:48 +11:00
parent e1f1e0df11
commit f68a364ffd
5 changed files with 97 additions and 92 deletions

View File

@ -34,6 +34,7 @@
#include <pulse/pulseaudio.h>
#include <string>
#include "noncopyable.h"
#include "pulselayer.h"
/**
* This data structure contains the different king of audio streams available
@ -58,7 +59,7 @@ class AudioStream {
* //@param channel number
* //@param device name
*/
AudioStream(pa_context *, pa_threaded_mainloop *, const char *, int, unsigned, const void*);
AudioStream(pa_context *, pa_threaded_mainloop *, const char *, int, unsigned, const PaDeviceInfos*);
~AudioStream();