mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
24 lines
535 B
Odin
24 lines
535 B
Odin
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)
|
|
|
|
foreign musicexport {
|
|
sceMusicExportFromFile :: 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 ---
|
|
}
|