0
0

I have tried to open a wav file which is mono, 24 Bits

My app crashes while waiting until the stream is open, i used the following flags:
[code:1g99l5h6]FSOUND_Stream_Open(tit.m_path, FSOUND_16BITS | FSOUND_SIGNED | FSOUND_MONO | FSOUND_NONBLOCKING,0,0);[/code:1g99l5h6]

after this call i’m waiting until the stream is finished:

[code:1g99l5h6] while(1)
{
state = fmod1->FSOUND_Stream_GetOpenState(stream);
TRACE("State: %ld\n", state);
if(state== 0 || state == -1 || state == -3) break;

        Sleep(1);
    }[/code:1g99l5h6]

the debug window show following output:
[code:1g99l5h6]
State: -2
Loaded ‘C:\WINNT\system32\imaadp32.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\msadp32.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\msg711.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\msgsm32.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\tssoft32.acm’, no matching symbolic information found.
Loaded ‘C:\WINNT\system32\tsd32.dll’, no matching symbolic information found.
State: -2
Loaded symbols for ‘C:\WINNT\system32\lhacm.acm’
State: -2
State: -2
Loaded ‘C:\WINNT\system32\msg723.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\iac25_32.ax’, no matching symbolic information found.
State: -2
State: -2
Loaded ‘C:\WINNT\system32\msaud32.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\l3codeca.acm’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\VCT3216.ACM’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\VCT3216.DLL’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\MSMS001.VWP’, no matching symbolic information found.
State: -2
Loaded ‘C:\WINNT\system32\MVOICE.VWP’, no matching symbolic information found.
State: -2
HEAP[MrMP3.exe]: Invalid Address specified to RtlFreeHeap( 09FD0000, 09FD5100 )[/code:1g99l5h6]

the fmod example does not crash but didn’t play that file either.

thx for help

  • You must to post comments
0
0

STEREO 24 Bit also crashing….maybe i did something wrong?!

urgent help needed..

  • You must to post comments
0
0

brett: definatly right….. i think not many people need this..

my application allows the user to scan the disk’s for media files… unfortunatly i’m also a musician i have alot of software synthesizers into my program folders.. and they.. or some of them use very strange wav formats… also 24 bit wav files…

i don’t know why my program got those exceptions… when i try to open it. do you have an idea how to fix that? or do i have to check each wav file if its content maybe 24 bit wav.. ? after that i do the fsound_stream_open() ..
exception handling?

  • You must to post comments
0
0

it could also be codec related…. if you say that you open wav files by using the standard codecs installed on the users machine, it could be possible that my codec is corrupted !?

i think i will add a check, that wav files with 24 bit juse get skipped… a fast work arround at the moment because i’m already late releasing my program…

thx for help

  • You must to post comments
0
0

If it is an uncompressed 24 Bit-wav you might use FSOUND_Stream_Create and feed it with your own data. Just parse the file and convert the data-section-values of your 24bit-file from 24bit signed linear to 16Bit signed. (“val16 = RoundDown(val24 / 256)”)

Here are some procedures in PureBasic to get access to the WAV-header/data http://purebasic.myforums.net/viewtopic.php?t=11509

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.