mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: use a platform neutral module with C declarations (sokol.audio), instead of time
in private_redeclaration_of_C_timeval.vv .
This commit is contained in:
@ -170,7 +170,7 @@ fn read_wav_file_samples(fpath string) ?[]f32 {
|
||||
}
|
||||
//
|
||||
if ch.chunk_type == [u8(`d`), `a`, `t`, `a`]! {
|
||||
if rf == 0 {
|
||||
if unsafe { rf == 0 } {
|
||||
return error('`data` chunk should be after `fmt ` chunk')
|
||||
}
|
||||
// eprintln('`fmt ` chunk: $rf\n`data` chunk: $ch')
|
||||
|
Reference in New Issue
Block a user