mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 06:02:32 +00:00
WAV: Restrict visibility of some functions
This commit is contained in:
parent
4eb31023a3
commit
80f29cafef
2 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,8 @@ pub(crate) mod aiff;
|
|||
pub(crate) mod chunk;
|
||||
pub(crate) mod wav;
|
||||
|
||||
// TODO: Expose `iff::{aiff, wav}` instead of combining both here
|
||||
|
||||
// Exports
|
||||
|
||||
pub use aiff::AiffFile;
|
||||
|
|
|
@ -12,7 +12,7 @@ use std::io::{Read, Seek, SeekFrom};
|
|||
|
||||
use byteorder::{LittleEndian, ReadBytesExt};
|
||||
|
||||
pub(in crate::iff) fn verify_wav<T>(data: &mut T) -> Result<()>
|
||||
pub(super) fn verify_wav<T>(data: &mut T) -> Result<()>
|
||||
where
|
||||
T: Read + Seek,
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ where
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub(crate) fn read_from<R>(data: &mut R, read_properties: bool) -> Result<WavFile>
|
||||
pub(super) fn read_from<R>(data: &mut R, read_properties: bool) -> Result<WavFile>
|
||||
where
|
||||
R: Read + Seek,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue