output/roar: convert to C++

This commit is contained in:
Max Kellermann
2013-01-16 23:29:56 +01:00
parent 2bb01093c0
commit e22ef6c481
6 changed files with 104 additions and 142 deletions

View File

@@ -74,16 +74,16 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po,
#endif
#ifdef HAVE_ROAR
#include "output/roar_output_plugin.h"
#include "output/RoarOutputPlugin.hxx"
int
roar_output_get_volume(G_GNUC_UNUSED struct roar *roar)
roar_output_get_volume(gcc_unused RoarOutput *roar)
{
return -1;
}
bool
roar_output_set_volume(G_GNUC_UNUSED struct roar *roar,
roar_output_set_volume(gcc_unused RoarOutput *roar,
G_GNUC_UNUSED unsigned volume)
{
return true;