examples/codec-info: fix field names
This commit is contained in:
parent
81badeb10d
commit
b39d8df4ee
@ -24,8 +24,8 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if let Ok(audio) = codec.audio() {
|
if let Ok(audio) = codec.audio() {
|
||||||
println!("\t samplerates: {:?}", audio.rates().collect::<Vec<_>>());
|
println!("\t rates: {:?}", audio.rates().collect::<Vec<_>>());
|
||||||
println!("\t sample_formats: {:?}", audio.formats().collect::<Vec<_>>());
|
println!("\t formats: {:?}", audio.formats().collect::<Vec<_>>());
|
||||||
println!("\t channel_layouts: {:?}", audio.channel_layouts().collect::<Vec<_>>());
|
println!("\t channel_layouts: {:?}", audio.channel_layouts().collect::<Vec<_>>());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,8 +51,8 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if let Ok(audio) = codec.audio() {
|
if let Ok(audio) = codec.audio() {
|
||||||
println!("\t samplerates: {:?}", audio.rates().collect::<Vec<_>>());
|
println!("\t rates: {:?}", audio.rates().collect::<Vec<_>>());
|
||||||
println!("\t sample_formats: {:?}", audio.formats().collect::<Vec<_>>());
|
println!("\t formats: {:?}", audio.formats().collect::<Vec<_>>());
|
||||||
println!("\t channel_layouts: {:?}", audio.channel_layouts().collect::<Vec<_>>());
|
println!("\t channel_layouts: {:?}", audio.channel_layouts().collect::<Vec<_>>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user