Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
patroclos committed Aug 25, 2016
1 parent 5d5ef52 commit 39bb772
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion include/volumeutil.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <pulse/volume.h>
#include <ctgmath>
#include <pulse/volume.h>

pa_cvolume *volume_pct_delta(pa_cvolume *vol, int channel, double pctDelta);
12 changes: 6 additions & 6 deletions src/sinkinputentry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
void SinkInputEntry::update(const pa_sink_input_info *info)
{
// general vars
m_Name = pa_proplist_gets(info->proplist, PA_PROP_APPLICATION_NAME);
m_Index = info->index;
m_Mute = info->mute;
m_PAVolume = info->volume;
m_PAChannelMap = info->channel_map;
m_Kill = false;
m_Name = pa_proplist_gets(info->proplist, PA_PROP_APPLICATION_NAME);
m_Index = info->index;
m_Mute = info->mute;
m_PAVolume = info->volume;
m_PAChannelMap = info->channel_map;
m_Kill = false;

// stream vars
m_Device = info->sink;
Expand Down
12 changes: 6 additions & 6 deletions src/sourceoutputentry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
void SourceOutputEntry::update(const pa_source_output_info *info)
{
// general vars
m_Name = pa_proplist_gets(info->proplist, PA_PROP_APPLICATION_NAME);
m_Index = info->index;
m_Mute = info->mute;
m_Name = pa_proplist_gets(info->proplist, PA_PROP_APPLICATION_NAME);
m_Index = info->index;
m_Mute = info->mute;
m_MonitorIndex = info->source;
m_PAVolume = info->volume;
m_PAChannelMap = info->channel_map;
m_Kill = false;
m_PAVolume = info->volume;
m_PAChannelMap = info->channel_map;
m_Kill = false;

// stream vars
m_Device = info->source;
Expand Down

0 comments on commit 39bb772

Please sign in to comment.