Files

24 lines
535 B
Odin
Raw Permalink Normal View History

2024-05-11 23:24:13 +02:00
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 {
2024-05-13 16:04:23 +02:00
sceMusicExportFromFile :: proc(
2024-05-11 23:24:13 +02:00
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 ---
}