25 lines
469 B
Plaintext
25 lines
469 B
Plaintext
meta:
|
|
id: wav
|
|
file-extension: wav
|
|
encoding: ascii
|
|
endian: le
|
|
seq:
|
|
- id: magic
|
|
type: str
|
|
size: 4
|
|
# We don't actually handle invalid files here.
|
|
# If we wanted, we could also use this key:
|
|
# contents: "RIFF"
|
|
# But then we could not use the type key...
|
|
- id: size
|
|
type: u4
|
|
- id: wave_str
|
|
type: str
|
|
size: 4
|
|
# Same as with the magic field
|
|
instances: {}
|
|
types: {}
|
|
enums: {}
|
|
doc: Hello, world
|
|
doc-ref: https://example.com
|