C# Class MP3Import, SoundtrackEditor

Inheritance: MonoBehaviour
Show file Open project: pizzaoverhead/SoundtrackEditor Class Usage Examples

Public Properties

Property Type Description
FrameSize int
GenreText string[]
audioSource UnityEngine.AudioSource
channels IntPtr
done IntPtr
encoding IntPtr
errPtr IntPtr
handle_mpg IntPtr
id3v1 IntPtr
id3v2 IntPtr
intChannels int
intEncoding int
intRate int
lengthSamples int
mPath string
myClip UnityEngine.AudioClip
rate IntPtr
x int

Public Methods

Method Description
ByteToFloat ( byte bArray ) : float[]
ByteToInt16 ( byte buffer ) : System.Int16[]
GetTrackInfo ( string path ) : TrackInfo,
IntToFloat ( Int16 from ) : float[]
StartImport ( string mPath ) : AudioClip

Method Details

ByteToFloat() public method

public ByteToFloat ( byte bArray ) : float[]
bArray byte
return float[]

ByteToInt16() public method

public ByteToInt16 ( byte buffer ) : System.Int16[]
buffer byte
return System.Int16[]

GetTrackInfo() public method

public GetTrackInfo ( string path ) : TrackInfo,
path string
return TrackInfo,

IntToFloat() public method

public IntToFloat ( Int16 from ) : float[]
from System.Int16
return float[]

StartImport() public method

public StartImport ( string mPath ) : AudioClip
mPath string
return UnityEngine.AudioClip

Property Details

FrameSize public property

public int FrameSize
return int

GenreText public static property

public static string[] GenreText
return string[]

audioSource public property

public AudioSource,UnityEngine audioSource
return UnityEngine.AudioSource

channels public property

public IntPtr channels
return IntPtr

done public property

public IntPtr done
return IntPtr

encoding public property

public IntPtr encoding
return IntPtr

errPtr public property

public IntPtr errPtr
return IntPtr

handle_mpg public property

public IntPtr handle_mpg
return IntPtr

id3v1 public property

public IntPtr id3v1
return IntPtr

id3v2 public property

public IntPtr id3v2
return IntPtr

intChannels public property

public int intChannels
return int

intEncoding public property

public int intEncoding
return int

intRate public property

public int intRate
return int

lengthSamples public property

public int lengthSamples
return int

mPath public property

public string mPath
return string

myClip public property

public AudioClip,UnityEngine myClip
return UnityEngine.AudioClip

rate public property

public IntPtr rate
return IntPtr

x public property

public int x
return int