fix: issue I699NT
Description: 【声音】【输入设备】输入设备进行声音输入时控制面板无输入反馈(实际输入正常) Bug: https://gitee.com/openkylin/ukui-media/issues/I699NT?from=project-issue
This commit is contained in:
parent
38ac2e624a
commit
9ed53400a9
|
@ -1527,6 +1527,10 @@ void UkmediaVolumeControl::sourceOutputCb(pa_context *c, const pa_source_output_
|
|||
decOutstanding(w);
|
||||
return;
|
||||
}
|
||||
|
||||
if (i->source == PA_ID_INVALID)
|
||||
return;
|
||||
|
||||
if (i->name)
|
||||
qDebug() << "sourceOutputCb" << i->name << i->source <<eol ;
|
||||
if (!w->sourceOutputVector.contains(i->index)) {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#define NOISE_REDUCE_SOURCE "noiseReduceSource"
|
||||
#define PANGUW_SINK "alsa_output.platform-raoliang-sndcard.analog-stereo"
|
||||
|
||||
#define PA_ID_INVALID ((uint32_t)0xffffffff)
|
||||
#define DECAY_STEP .04
|
||||
|
||||
static int n_outstanding = 0;
|
||||
|
|
Loading…
Reference in New Issue