Update for rustc
This commit is contained in:
parent
b4b75f526a
commit
f00bb5a2b8
2 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ fn init() -> Result<Channel, String> {
|
|||
None => &format_attempt,
|
||||
};
|
||||
|
||||
let format_copy = *format;
|
||||
let format_copy = ptr::read(format);
|
||||
|
||||
let f = audio_client.lpVtbl.as_ref().unwrap().Initialize;
|
||||
let hresult = f(audio_client, winapi::AUDCLNT_SHAREMODE::AUDCLNT_SHAREMODE_SHARED,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue