mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
initial
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package musicexport
|
||||
|
||||
import "core:c"
|
||||
import sce "../common"
|
||||
|
||||
foreign import musicexport "system:SceMusicExport_stub"
|
||||
|
||||
MusicExportParam :: struct {
|
||||
reserved: [128]c.char, //!< Reserved data
|
||||
}
|
||||
#assert(size_of(MusicExportParam) == 0x80)
|
||||
|
||||
@(link_prefix = "sceMusicExport")
|
||||
foreign musicexport {
|
||||
FromFile :: proc(
|
||||
path: cstring,
|
||||
#by_ptr param: MusicExportParam,
|
||||
workingMemory: rawptr,
|
||||
cancelCb: rawptr,
|
||||
progress: #type ^proc "c" (_: rawptr, __: c.int),
|
||||
user: rawptr,
|
||||
outPath: cstring,
|
||||
outPathSize: sce.Size) -> c.int ---
|
||||
}
|
||||
Reference in New Issue
Block a user