Anonymous | Login | Signup for a new account | 2024-11-23 08:50 PST |
Main | My View | View Issues | Change Log | Roadmap | Repositories | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0000108 | MPfm | Player | public | 2011-05-22 09:31 | 2012-04-21 09:54 | |||
Reporter | ycastonguay | |||||||
Assigned To | ycastonguay | |||||||
Priority | immediate | Severity | block | Reproducibility | sometimes | |||
Status | resolved | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | 0.4.4.3 | |||||||
Target Version | 0.4.4.5 | Fixed in Version | 0.4.4.5 | |||||
Summary | 0000108: Since the switch to gapless, the stream sometimes lags out | |||||||
Description | It's hard to reproduce but it happens every 2 minutes or something like that. I'm using Frank Zappa's Joe Garage FLAC to reproduce the problem. It's hard to believe the audio can lag out on a i7? | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Notes | |
(0000027) ycastonguay (administrator) 2011-05-22 09:34 |
I've read the FMOD forums and documentation, and system::setStreamBufferSize might help. The default is 16384 in FMOD_TIMEUNIT_RAWBYTES. Try to boost this. This shouldn't take much more memory. There is also a memory leak bug that might create this problem (see 0000107) |
(0000029) ycastonguay (administrator) 2011-05-22 09:41 |
I've used the setStreamBufferSize and used 512 * 1024 for value. The application is using 60MB of RAM, which is not too bad considering the application is using the .NET framework. So far I haven't reproduced the problem with this fix, but I'll leave this bug open for a while because it is hard to reproduce. Maybe it would be a good idea to add a configurable value in Settings and in the settings file. |
(0000031) ycastonguay (administrator) 2011-05-22 10:51 |
Maybe this is related to frequency/bit rate. 24/96 files seem to skip more than 16/44. Maybe the buffer should be set higher for bigger files (WAV, FLAC) with higher bitrates? I've put down the value to 64 * 1024. Setting a too high value might not be better. |
(0000032) ycastonguay (administrator) 2011-05-22 11:40 |
Interesting thread on the subject: http://www.fmod.org/forum/viewtopic.php?f=7&t=7666&p=30024&hilit=stream+stutter#p30024 [^] So try to increase the DSPBufferSize too. Maybe the system->update is too long? Can it be driver related? (i.e. ASIO)? |
(0000041) ycastonguay (administrator) 2011-05-29 08:56 |
Some of the FLAC files I was testing with (Frank Zappa's Sheik Yerbouti) were badly ripped and I thought the skips were because of the player. The code has been left untouched for a week and it works perfectly now. Closing the task. |
Issue History | |||
Date Modified | Username | Field | Change |
2011-05-22 09:31 | ycastonguay | New Issue | |
2011-05-22 09:31 | ycastonguay | Status | new => assigned |
2011-05-22 09:31 | ycastonguay | Assigned To | => ycastonguay |
2011-05-22 09:34 | ycastonguay | Note Added: 0000027 | |
2011-05-22 09:41 | ycastonguay | Note Added: 0000029 | |
2011-05-22 10:51 | ycastonguay | Note Added: 0000031 | |
2011-05-22 11:40 | ycastonguay | Note Added: 0000032 | |
2011-05-23 10:43 | ycastonguay | Target Version | 0.4.4.4 => 0.4.4.6 |
2011-05-29 08:56 | ycastonguay | Note Added: 0000041 | |
2011-05-29 08:56 | ycastonguay | Target Version | 0.4.4.6 => 0.4.4.5 |
2011-05-29 08:56 | ycastonguay | Status | assigned => resolved |
2011-05-29 08:56 | ycastonguay | Fixed in Version | => 0.4.4.5 |
2011-05-29 08:56 | ycastonguay | Resolution | open => fixed |
2011-05-29 10:58 | ycastonguay | Category | Global => Gapless Playback |
2012-04-17 19:11 | ycastonguay | Category | Gapless Playback => Player - Gapless Playback |
2012-04-21 09:54 | ycastonguay | Category | Player - Gapless Playback => Player |
Copyright © 2000 - 2011 MantisBT Group |