I'm at a dead end at the moment :/ although in theory ogg vorbis can be cropped and played from any ogg page start (provided the header pages are loaded) still doesn't work. I do this under bmax (each [] means an "ogg page" of variable size):
I load:
OGG1: [header1][header2][header3][a1][a2][a3][a4][a5]...[a15]
Then I make 2 streams and copy the data this way:
OGG2: [header1][header2][header3][a1][a2]...[a5]
OGG3: [header1][header2][header3][a6][a7]...[a10]
OGG2 is loaded and played OK.
Then OGG3 hangs up the app when doing LoadSound. I tried copying page headers from a1 to a6, a2 to a7 etc (things as the page sequence number, granulate position...) to see if LoadSound was checking the correct order of ogg pages... but same result.
If anyone knows the format / how the ogg loader works... any clue of what could be wrong?
PD: btw this has become more an advanced than a beginner question. doh! x)
I load:
OGG1: [header1][header2][header3][a1][a2][a3][a4][a5]...[a15]
Then I make 2 streams and copy the data this way:
OGG2: [header1][header2][header3][a1][a2]...[a5]
OGG3: [header1][header2][header3][a6][a7]...[a10]
OGG2 is loaded and played OK.
Then OGG3 hangs up the app when doing LoadSound. I tried copying page headers from a1 to a6, a2 to a7 etc (things as the page sequence number, granulate position...) to see if LoadSound was checking the correct order of ogg pages... but same result.
If anyone knows the format / how the ogg loader works... any clue of what could be wrong?
PD: btw this has become more an advanced than a beginner question. doh! x)