Sound doesn't play when window minimised

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.

Not sure if this is a bug or something I have missed so I put it in here. When I have an application (any Purebasic application) minimised to the taskbar, any sound it has loaded will not play. Instead it buzzes or plays funny little noises. If you then maximise the window (make it visible), the sound will be played correctly.

Has anyone encountered this problem on a WIndows XP machine and know a way around it?


Fangles woz ear orright den?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

Hi Fangles,

Can you please supply a small source that I can test? I recently
installed XP and now use it as my main Operating System.


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.
Originally posted by PB

Hi Fangles,

Can you please supply a small source that I can test? I recently
installed XP and now use it as my main Operating System.


PB - Registered PureBasic Coder
Normally I'd be happy to supply code but as I said above "Any PureBasic Application" so there is no point in flogging the dead hamster:)

Fangles woz ear orright den?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Normally I'd be happy to supply code but as I said above "Any
> PureBasic Application" so there is no point in flogging the dead
> hamster:)

The reason I asked for source is because I wanted to know what types
of sounds don't play, ie. are they wavs being played with the sound
library; or are you using the API to play them; or are you trying to
play a CD track; or is it an AVI's sound that doesn't play, etc, etc.

More information needed, sorry. :)


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.
Originally posted by PB

> Normally I'd be happy to supply code but as I said above "Any
> PureBasic Application" so there is no point in flogging the dead
> hamster:)

The reason I asked for source is because I wanted to know what types
of sounds don't play, ie. are they wavs being played with the sound
library; or are you using the API to play them; or are you trying to
play a CD track; or is it an AVI's sound that doesn't play, etc, etc.

More information needed, sorry. :)

PB - Registered PureBasic Coder
Shhhh, it's a secret. Seriously, It's late and I need my ugly rest. I'll be more specific for you Master Yoda PB after a good night's sleep :):)

Fangles woz ear orright den?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by TheBeck.

No problem playing sound minimized here. XP SP1.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> I'll be more specific [...] after a good night's sleep :):)

Okay, it's been 10 nights now... I assume you solved it? :)


PB - Registered PureBasic Coder
Post Reply