C# Class MP3Import, SoundtrackEditor

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public int FrameSize
return int

GenreText public_oe static_oe property

public static string[] GenreText
return string[]

audioSource public_oe property

public AudioSource,UnityEngine audioSource
return UnityEngine.AudioSource

channels public_oe property

public IntPtr channels
return IntPtr

done public_oe property

public IntPtr done
return IntPtr

encoding public_oe property

public IntPtr encoding
return IntPtr

errPtr public_oe property

public IntPtr errPtr
return IntPtr

handle_mpg public_oe property

public IntPtr handle_mpg
return IntPtr

id3v1 public_oe property

public IntPtr id3v1
return IntPtr

id3v2 public_oe property

public IntPtr id3v2
return IntPtr

intChannels public_oe property

public int intChannels
return int

intEncoding public_oe property

public int intEncoding
return int

intRate public_oe property

public int intRate
return int

lengthSamples public_oe property

public int lengthSamples
return int

mPath public_oe property

public string mPath
return string

myClip public_oe property

public AudioClip,UnityEngine myClip
return UnityEngine.AudioClip

rate public_oe property

public IntPtr rate
return IntPtr

x public_oe property

public int x
return int