Opened 19 years ago

Closed 15 years ago

Last modified 15 years ago

#575 closed bug (fixed)

[SampleStudio] crash if you try to open a file

Reported by: diver Owned by: marcusoverhagen
Priority: normal Milestone: R1
Component: Kits/Game Kit Version: R1/pre-alpha1
Keywords: Cc: fredrik@…
Blocked By: Blocking:
Platform: All

Description

Attachments (1)

SampleStudio.txt (5.1 KB ) - added by diver 19 years ago.
SampleStudio

Download all attachments as: .zip

Change History (13)

by diver, 19 years ago

Attachment: SampleStudio.txt added

SampleStudio

comment:1 by marcusoverhagen, 19 years ago

Status: newassigned

comment:2 by marcusoverhagen, 19 years ago

dependson: 332

comment:3 by marcusoverhagen, 19 years ago

BGameSoundDevice::Connect tries to instantiate a new audio mixer, which is bad. It should use the system mixer. This bug is probably caused by memory corruption done by BFileGameSound or BGameSoundDevice.

comment:4 by korli, 17 years ago

Platform: All

It's true the gamesound device mixing is based on an instanciated audio mixer. Mixing should be done internally before outputting to the system audio mixer.

comment:5 by jackburton, 16 years ago

Is this still valid ?

in reply to:  4 ; comment:6 by jackburton, 16 years ago

Replying to korli:

It's true the gamesound device mixing is based on an instanciated audio mixer. Mixing should be done internally before outputting to the system audio mixer.

Is this what GameProducer (in src/kits/game/GameProducer.cpp) should do ? We don't seem to use it, btw.

in reply to:  6 comment:7 by jackburton, 16 years ago

Replying to jackburton:

Is this what GameProducer (in src/kits/game/GameProducer.cpp) should do ? We don't seem to use it, btw.

Sorry, we ARE using it, indeed.

comment:8 by diver, 16 years ago

Component: - GeneralKits/Game Kit
Version: R1 development

comment:9 by modeenf, 15 years ago

Cc: fredrik@… added

Tested to load some mp3's and I had no problem, used Haiku hrev32595 and SampelStudio 1.0 B2.1.

Closing this if no one rejects. Other changes in here perhaps a new TODO or bug report?

I think I don't really understand what's need to be done here, but what's new :).

comment:10 by diver, 15 years ago

Can't reproduce it here too with SampelStudio 1.0 Beta 3.0. Feel free to close it.
BTW, anybody know why playing mp3 in SampelStudio does not skip at all when moving firefox around compared to VLC and MediaPlayer?

comment:11 by modeenf, 15 years ago

Resolution: fixed
Status: assignedclosed

is that the latest SampelStudio from bebits does it include the source? haikuware only have 1.0 Beta 2.1 :)

Closing this as fixed

comment:12 by diver, 15 years ago

I took it from BeMax4b1 /BeOS5PEMaxEditionV4b1/_packages_/SampleStudio/apps/SampleStudio.pk

Note: See TracTickets for help on using tickets.