pcm/ChannelsConverter: fix variable used to generate error message
Use the "_format" parameter instead of the (uninitialized) "format" attribute.
This commit is contained in:
@@ -43,7 +43,7 @@ PcmChannelsConverter::Open(SampleFormat _format,
|
|||||||
default:
|
default:
|
||||||
error.Format(pcm_domain,
|
error.Format(pcm_domain,
|
||||||
"PCM channel conversion for %s is not implemented",
|
"PCM channel conversion for %s is not implemented",
|
||||||
sample_format_to_string(format));
|
sample_format_to_string(_format));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user