Skip to content
Snippets Groups Projects
Commit 53d749ec authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Set the volume of the playback stream to PA_VOLUME_NORM at startup

FIx ticket #148
parent f17b3e59
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ AudioStream::AudioStream( pa_context* context, int type, std::string desc, doubl
sample_spec.rate = 44100;
sample_spec.channels = 1;
channel_map.channels = 1;
pa_cvolume_set( &_volume , 1 , PA_VOLUME_MUTED ) ; // * vol / 100 ;
pa_cvolume_set( &_volume , 1 , PA_VOLUME_NORM ) ; // * vol / 100 ;
_audiostream = createStream( context );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment