Merge pull request #495 from thearturca/feat/unload-sound-alias
feat(raylib): adds UnloadSoundAlias function
This commit is contained in:
commit
a4292f0f04
1 changed files with 6 additions and 0 deletions
|
@ -237,6 +237,12 @@ func UnloadSound(sound Sound) {
|
||||||
C.UnloadSound(*csound)
|
C.UnloadSound(*csound)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UnloadSoundAlias - Unload a sound alias (does not deallocate sample data)
|
||||||
|
func UnloadSoundAlias(sound Sound) {
|
||||||
|
csound := sound.cptr()
|
||||||
|
C.UnloadSoundAlias(*csound)
|
||||||
|
}
|
||||||
|
|
||||||
// ExportWave - Export wave data to file
|
// ExportWave - Export wave data to file
|
||||||
func ExportWave(wave Wave, fileName string) {
|
func ExportWave(wave Wave, fileName string) {
|
||||||
cwave := wave.cptr()
|
cwave := wave.cptr()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue