#
2e68fbd2 |
|
11-Dec-2020 |
Máximo Castañeda <antiswen@yahoo.es> |
Fix wrap for AUDIO_INT Floats don't have enough precision for all 32 bit integers. In particular, near INT32_MAX their value is INT32_MAX + 1, which, when converted back to int becomes INT32_MIN. Change-Id: Ief3c1177b4f69baac13df5bac977882fea95ae01 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3511 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
65b3fe45 |
|
08-Dec-2020 |
Jérôme Duval <jerome.duval@gmail.com> |
GameKit: give up default template parameter for gcc2
|
#
6336b86a |
|
08-Dec-2020 |
Jérôme Duval <jerome.duval@gmail.com> |
GameKit: gcc2 build fix
|
#
cfe72209 |
|
27-Nov-2020 |
Máximo Castañeda <antiswen@yahoo.es> |
U8 sound format U8 sound has a nonzero value as its zero amplitude, so it needs to be special-cased when mixing, applying gains and other transformations. Change-Id: I5ad96b5f39d454bffad2449ac9f27b2ae61e2ccd Reviewed-on: https://review.haiku-os.org/c/haiku/+/3470 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
8e9d64f0 |
|
05-Dec-2020 |
Máximo Castañeda <antiswen@yahoo.es> |
FileGameSound: fix stuck in pause when ramped Change-Id: I346d7b93fa8507451ee46856ad6618acd6e2d609 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3469 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
15de111d |
|
04-Dec-2020 |
Máximo Castañeda <antiswen@yahoo.es> |
FileGameSound: fix buffer advance accounting Change-Id: I15bb2b1e703cad955544a1151adc6a1277b077a8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3467 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
8c788925 |
|
23-Nov-2020 |
Máximo Castañeda <antiswen@yahoo.es> |
BFileGameSound: don't copy garbage after track end Check for the end of track, as the stream is repositioned on the first frame, the start of which we were copying to the buffer if there was space left, whether we were looping or not. Solves #16592 Change-Id: Ic49d1776577b71a4451775876597b9c9003e1d35 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3411 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
baa73998 |
|
11-Dec-2019 |
Adrien Destugues <adrien.destugues@opensource.viveris.fr> |
FileGameSound: remove superfluous parentheses. Pointed out by Axel on haiku-commits.
|
#
69f814cd |
|
08-Dec-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BFileGameSound: allow initializing from a BDataIO There is no reason to not allow this, and it makes it possible to load data from eg. a BResource instead of a file, which is very useful. Remove some unused members in the class and dead code, and fix style issues. Change-Id: I94cbd0c13c469ea80f55028cf33dfde2de4365ef Reviewed-on: https://review.haiku-os.org/c/haiku/+/2001 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
|
#
088cebb9 |
|
27-Apr-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BFileGameSound: remove annoying printf. Change-Id: If12c4031e7ec245a79cca51fe1304f6cc21f28e4 Reviewed-on: https://review.haiku-os.org/c/1415 Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
|
#
1f0635d2 |
|
25-Feb-2019 |
Murai Takashi <tmurai01@gmail.com> |
Game Kit: Fix -Werror=class-memaccess Replace memset() with media_format.Clear() to fix -Werror=class-memaccess, pointed by gcc8. Change-Id: I87a72ac06947e90c468deda6bf6d7bb3b5fb4003 Reviewed-on: https://review.haiku-os.org/c/1113 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
df4074fb |
|
24-Nov-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove a lot of unused constants. Spotted by Clang. No functional change intended.
|
#
6ec69f44 |
|
23-Aug-2018 |
JackBurton79 <stefano.ceccherini@gmail.com> |
Small style fixes Change-Id: I1db785122efe70e416b4073c06148c856c5a5e8d
|
#
37fedaf8 |
|
11-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to the Game Kit, focus on docs
|
#
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
|
#
37fedaf8494b34aad811abcc49e79aa32943f880 |
|
11-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to the Game Kit, focus on docs
|
#
ff3409e005096a604d862a776e470aae2089865d |
|
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.
|
#
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
|