Mercurial > audlegacy
comparison src/audacious/volumecontrol.c @ 3553:a140fadd741d trunk
software volumecontrol->flow manager API
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Tue, 18 Sep 2007 13:13:20 -0500 |
parents | 7a2b667bab4b |
children | ab4962c133c7 |
comparison
equal
deleted
inserted
replaced
3552:e840c5086a15 | 3553:a140fadd741d |
---|---|
158 volumecontrol_set_volume_state(gint l, gint r) | 158 volumecontrol_set_volume_state(gint l, gint r) |
159 { | 159 { |
160 vc_state_.left = l; | 160 vc_state_.left = l; |
161 vc_state_.right = r; | 161 vc_state_.right = r; |
162 } | 162 } |
163 | |
164 void | |
165 volumecontrol_flow(FlowContext *context) | |
166 { | |
167 if (!cfg.software_volume_control) | |
168 return; | |
169 | |
170 volumecontrol_pad_audio(context->data, context->len, context->fmt, context->channels); | |
171 } |