History log of /haiku-fatelf/src/kits/game/FileGameSound.cpp
Revision Date Author Comments
# ff3409e0 24-Dec-2012 John Scipione <jscipione@gmail.com>

Return EALREADY if already in requested playback mode.

That's what the BeBook says the method is suppose to do.


# 2066acfb 08-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

game kit: Style and whitespace cleanup. No functional change.


# c80809a3 19-Jul-2011 Marcus Overhagen <marcusoverhagen@gmail.com>

This should fix crashes due to bad initialization. Completely untested. Might help with ticket #3241


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42453 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 914fb503 15-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

* Added a couple TODOs after reading a bit in the source.
* Introduced a lock in GetDefaultDevice() and ReleaseDevice() as a quick
solution to the race condition in those functions. It could also use
proper atomic ref counting. Untested.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31060 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da9b0b46 31-Oct-2008 David McPaul <dlmcpaul@gmail.com>

split or combine decoder buffers to match mixer buffer size.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28414 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 45d40b75 29-Oct-2008 David McPaul <dlmcpaul@gmail.com>

uint8 Fillbuffer should use sizeof(uint8) for divisor

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28380 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3feea279 28-Oct-2008 Maurice Kalinowski <mauricek@nowhere.fake>

whitespace and style cleanup, no functional changes



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28358 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fc1ca2da 25-Apr-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 14e3d1b5 23-May-2007 Jérôme Duval <korli@users.berlios.de>

don't try to stop a non inited BFileGameSound
now stops BFileGameSound at the end of the track if not looping
GameSoundDevice now checks the sound_id is valid
added a header include in GSUtility.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21221 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea4f253f 14-Apr-2007 Jérôme Duval <korli@users.berlios.de>

update license headers, code style
In BPushGameSound, SetParameter and SetStreamHook return B_UNSUPPORTED while Perform calls the parent class.
Moved code to the constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20682 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0c93c0a8 06-Apr-2007 Jérôme Duval <korli@users.berlios.de>

change the way FileGameSound works : avoid using a port
code style, some clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20603 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7c354d7 20-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

not sure if this helps: when the file end is reached, playback should be stopped.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4703fb5d 06-Oct-2002 beveloper <beveloper@nowhere.fake>

These files have been contributed by Christopher ML Zumwalt May


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b4a36ab 10-Aug-2002 beveloper <beveloper@nowhere.fake>

start with libgame.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@695 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2066acfbc57260cadff12de083adab718248aec9 08-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

game kit: Style and whitespace cleanup. No functional change.


# c80809a3ab0b0a2ce53ea861a2b00ace24ff452d 19-Jul-2011 Marcus Overhagen <marcusoverhagen@gmail.com>

This should fix crashes due to bad initialization. Completely untested. Might help with ticket #3241


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42453 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 914fb50397d4026d0dda216d0d6ee4c6de7089f5 15-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

* Added a couple TODOs after reading a bit in the source.
* Introduced a lock in GetDefaultDevice() and ReleaseDevice() as a quick
solution to the race condition in those functions. It could also use
proper atomic ref counting. Untested.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31060 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da9b0b46edccccbbb204b213993d85d457fb56b2 31-Oct-2008 David McPaul <dlmcpaul@gmail.com>

split or combine decoder buffers to match mixer buffer size.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28414 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 45d40b75b9e8ee72958aa54d58f958bcc14078c0 29-Oct-2008 David McPaul <dlmcpaul@gmail.com>

uint8 Fillbuffer should use sizeof(uint8) for divisor

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28380 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3feea27945fcd3a718dde4839de7be3f4d667b85 28-Oct-2008 Maurice Kalinowski <mauricek@nowhere.fake>

whitespace and style cleanup, no functional changes



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28358 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fc1ca2da5cfcb00ffdf791606d5ae97fdd58a638 25-Apr-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 14e3d1b5768e7110b3d5c0855833267409b71dbb 23-May-2007 Jérôme Duval <korli@users.berlios.de>

don't try to stop a non inited BFileGameSound
now stops BFileGameSound at the end of the track if not looping
GameSoundDevice now checks the sound_id is valid
added a header include in GSUtility.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21221 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea4f253fd6982ab9fe71251121e8095b784df7fe 14-Apr-2007 Jérôme Duval <korli@users.berlios.de>

update license headers, code style
In BPushGameSound, SetParameter and SetStreamHook return B_UNSUPPORTED while Perform calls the parent class.
Moved code to the constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20682 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0c93c0a807b27096abbfad677436afb7d1712d4a 06-Apr-2007 Jérôme Duval <korli@users.berlios.de>

change the way FileGameSound works : avoid using a port
code style, some clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20603 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7c354d7eeaf20e1fccf043444cc805e0aaa77c4 20-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

not sure if this helps: when the file end is reached, playback should be stopped.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4703fb5d8562169f672b3efe5203f1eb4d9ceb4a 06-Oct-2002 beveloper <beveloper@nowhere.fake>

These files have been contributed by Christopher ML Zumwalt May


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b4a36abc99ddad5d0ec9337db3b3d5d2e4b99b0 10-Aug-2002 beveloper <beveloper@nowhere.fake>

start with libgame.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@695 a95241bf-73f2-0310-859d-f6bbb57e9c96