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