]> git.nihav.org Git - nihav.git/commitdiff
core/frame: make fields of NAAudioInfo public
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 17 Nov 2019 10:59:45 +0000 (11:59 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 17 Nov 2019 10:59:45 +0000 (11:59 +0100)
nihav-core/src/frame.rs

index e1529bfe213625f8ed92ceafe088c033b8b93783..697013c442a99d653004bcc4a593f1feb8ab1753 100644 (file)
@@ -8,10 +8,10 @@ pub use crate::refs::*;
 #[allow(dead_code)]
 #[derive(Clone,Copy,PartialEq)]
 pub struct NAAudioInfo {
-    sample_rate: u32,
-    channels:    u8,
-    format:      NASoniton,
-    block_len:   usize,
+    pub sample_rate: u32,
+    pub channels:    u8,
+    pub format:      NASoniton,
+    pub block_len:   usize,
 }
 
 impl NAAudioInfo {