PDA

View Full Version : Sound lag when listening to music.


Pages : 1 [2]

razorblader
13th January 2009, 09:28 PM
Hi Folks,

I would suggest that because the exact problem still occurrs on the long awaited new ROM that HTC are about to release that it must, sadly, be a hardware based issue...

Otherwise they would surely have been able to address it, even though we know they won't admit the problem exists and never actually log any of the support calls we make to them.

If they are aware that this is a HW design fault that can't be patched then it will explain why they ignore our calls for help. They simply CAN'T fix it so will do everything to pretend that it's not an issue.

Anyone can test this by simply contacting HTC support and I guarantee they will tell you that they've never heard of the problem and advise to simply to do a reset to fix it.

But WE know that we have logged many many calls about this...

I was going to upgrade to the HD but as that model seems to have the same issue I will wait until (hopefully) another manufacturer comes up with one that looks just as good.

Shame really...

Hi, I am a HD user who pops into this thread from time to time since we have the same problem with audio stutters every five minutes or so. A user in our (very similar) thread says he has spoken with HTC Europe and they claim to be aware of the problem and in the process of preparing a hotfix that should be released in about two weeks. Here's the source: http://forum.xda-developers.com/showpost.php?p=3162015&postcount=78

thx1200
14th January 2009, 03:33 AM
Hi, I am a HD user who pops into this thread from time to time since we have the same problem with audio stutters every five minutes or so. A user in our (very similar) thread says he has spoken with HTC Europe and they claim to be aware of the problem and in the process of preparing a hotfix that should be released in about two weeks. Here's the source: http://forum.xda-developers.com/showpost.php?p=3162015&postcount=78

I REALLY hope that's true. But HTC's track record with hotfixes (or at least forum posts promising these hotfixes) has, thus far, been pretty lousy. :-D

If it is the case, a hotfix would be ideal because it wouldn't require a full ROM replacement.

Also, if this is the case, want to take bets on if this fixes ONLY audio manager (as in some ROMs already) and not all players?

windmoon
14th January 2009, 09:51 AM
I have diamond before and with this problem
And now I'm using the Sony X1, and got the same problem = ="

And I read this thread, someone said play mp3 will no LAG
Then I change my audio from wma to mp3
Then the LAG problem solve = ="

I use the wma before, and I found that play wma will have the sound lag problem, now I use MP3 and use LAME encode VBR 190kbps up still no lag with sony music experience panel and htc audio manager

But Kinoma player still got the sound lag

So if you are using wma, you can try to convert to mp3 and try again

ede77
14th January 2009, 11:15 AM
Sadly, we have this problem with mp3 too... I think, it´s not the point...
But thanx for info... Xperia has this problem too... oje...

jay_zhead
14th January 2009, 11:49 AM
Well, he released an english version. I've tested it now. It's about the same as CT's, minor lags here and there. Nothing groundbraking.


I take back my previous post. Apparently, and I want to emphasize this, DIB DID SOLVE THE ISSUE, at least partially. The other cooked ROM's I've tried always made things better for the TD3D music tab (or HTC audio manager, or however you wanna call it), so naturally I was testing it with that player, and got occasional skips with high-bitrate MP3's, just like in my previously tested roms. But the difference is that in the ROM's I've previously tried the lags got worse with any 3rd-party player, including Windows Media, so now I didn't even test it at first. But yesterday I've decided to try it out and - to my great delight - With DIB's latest rom the lags with Windows Media Player are NONEXISTENT. I've listened to an entire album of high-bitrate music that would always skip in other roms and there was NOT A SINGLE HITCH, played back perfectly for 47 minutes straight.

I'll be testing S2P next, if that will also be as perfect then I will consider this problem solved, and this will be the ROM I'll be sticking to.

ROM USED: DIB Diamond 1.28 WWE
Radio used: 1.00.25.06
Status of device: Audio with no skips with WMP (maybe more players - still testing), GPS working perfectly - connects in seconds with iGO8, TF3D responsive enough (not as responsive as CT's ROM, but the skipless playback is sooo worth it being slightly slower), device is rock stable and had not crashed on my once yet.

Thank you DIB! The rom can be downloaded from this post:
http://forum.xda-developers.com/showthread.php?t=423418

wired69
14th January 2009, 01:26 PM
ROM USED: DIB Diamond 1.28 WWE
Radio used: 1.00.25.06
Status of device: Audio with no skips with WMP (maybe more players - still testing), GPS working perfectly - connects in seconds with iGO8, TF3D responsive enough (not as responsive as CT's ROM, but the skipless playback is sooo worth it being slightly slower), device is rock stable and had not crashed on my once yet.

Thank you DIB! The rom can be downloaded from this post:
http://forum.xda-developers.com/showthread.php?t=423418

As I haven't flashed to a new ROM in long time I thought I would try the above ROM out. To my great disappointment, it is NOT fixed for me :mad:

Tested it for over twenty minutes with PP 3.7 - same lag every five minutes, although it seemed far less noticable than previous ROMs I have tested. Back to the drawing board....

windmoon
15th January 2009, 03:08 PM
Sadly, we have this problem with mp3 too... I think, it´s not the point...
But thanx for info... Xperia has this problem too... oje...

= =" X1 is made by HTC ....so inherit this "FEATURE"

thx1200
16th January 2009, 03:26 AM
As I haven't flashed to a new ROM in long time I thought I would try the above ROM out. To my great disappointment, it is NOT fixed for me :mad:

Tested it for over twenty minutes with PP 3.7 - same lag every five minutes, although it seemed far less noticable than previous ROMs I have tested. Back to the drawing board....

I'm just speculating here, but I'm wondering if when the problem seems "fixed" it's not really fixed, it's just the gap has gotten so small it's not really apparent to most, but if you recorded it and examined the waveform, I wonder if you would still see very tiny gaps. Maybe that's why some people don't notice it when the gaps get small but others do? I'm a musician, DJ, and did mastering for a while, so my ears are really trained to things like that because I need to listen for defects to fix them in recordings.

Back to one of my earlier posts. When I have all power management features disabled the 5-minute lag seems gone on my sprint ROM, but it may be because I was listening to it in my noisy car (harder to hear tiny lags). Interestingly, when I re-enable ANY power management features, the 5-minute lag is very apparent.

I don't know that there's any one solution (as far as tweaks we can do are concerned) because it seems there are many things in the operating system that can interrupt the audio buffer. Sometimes I wonder if the fix would be a simple driver update, but since Qualcomm, not exactly known for their quality, maybe they just never updated the driver because it works "good enough" for them.

Thanksfully, HTC is switching to an nVidia chipset for their next gen devices! WOO HOO.

It wouldn't surprise me that turning flight mode on would help in some cases because cellular activity is pretty high priority in a phone (obviously) and if you knock that out of the equation, disable power management, don't run any other apps, and whatever other tips, yea audio is probably pretty good. But that's not exactly acceptible compared to competitor devices like the iphone. I want my multitasking!

Well, at least Opera doesn't crash much, unlike Safari Mobile. ;-) I guess there are always trade-offs! ;-)

windmoon
16th January 2009, 10:04 AM
Maybe a Hope

I haven't diamond anymore, but today I just try a new player
Conduits Pocket Player 4.0 "Just release a few weeks"

I found that, you can set the decode priority, I try the Extreme on my X1 and play WMA "I mention before I play WMA will LAG" and now no lag

Also the player support album art "I love it" and EQ "love it too"

Goto search and try try, maybe this player can help
I don't know, coz I haven't diamond anymore, but work on my X1 = =" with Stock UK ROM

I maybe flash the HK ROM to my X1 and try again
Good Luck!!!

jay_zhead
16th January 2009, 03:13 PM
I'm just speculating here, but I'm wondering if when the problem seems "fixed" it's not really fixed, it's just the gap has gotten so small it's not really apparent to most, but if you recorded it and examined the waveform, I wonder if you would still see very tiny gaps. Maybe that's why some people don't notice it when the gaps get small but others do? I'm a musician, DJ, and did mastering for a while, so my ears are really trained to things like that because I need to listen for defects to fix them in recordings.

I'm a professional musician and a studio technician, trust me, I am VERY picky about my music listening - if there's a gap I'd hear it. When I say that it's fixed for me with WMP, I mean it.

However:

As I haven't flashed to a new ROM in long time I thought I would try the above ROM out. To my great disappointment, it is NOT fixed for me

Tested it for over twenty minutes with PP 3.7 - same lag every five minutes, although it seemed far less noticable than previous ROMs I have tested. Back to the drawing board....

Well, I hope you don't blame me - I've said nothing about PP (I assume you mean Pocket Player?), I emphasized that I only tested HTC AudioManager and Windows Media Player. Now I've done some more tests and must conclude that, unfortunately, that's where the goods end. As par my tests:

1. S2P - Lags. Every few minutes, as usual.
2. MortPlayer - Lags, less than S2P tho.
3. PocketMusic - Lags, more than both above mentioned.

However, I'm still sticking with that rom for now, as I've now logged probably over 10h of listening time with WMP and only got one lag during this entire time. WMP works ALMOST flawlessly, so its better than what used to be for sure. The manila music tab also works quite well, it has the usual issues with high-bitrate files, but still better than almost any previously tested rom. Plus the rom really is rock stable, and - as far as I can tell - no memory leaks.

Of course I was hasty to say the problem had been fixed - it's not, just somewhat improved. I'm using WMP for now as it provides the best results - but I don't like it's interface very much, it's not at all finger friendly, so I'm still shopping around for something better. Come on HTC, give us that hotfix... :cool:

Nuri58
16th January 2009, 04:09 PM
I'm a professional musician and a studio technician, trust me, I am VERY picky about my music listening - if there's a gap I'd hear it. When I say that it's fixed for me with WMP, I mean it.

However:



Well, I hope you don't blame me - I've said nothing about PP (I assume you mean Pocket Player?), I emphasized that I only tested HTC AudioManager and Windows Media Player. Now I've done some more tests and must conclude that, unfortunately, that's where the goods end. As par my tests:

1. S2P - Lags. Every few minutes, as usual.
2. MortPlayer - Lags, less than S2P tho.
3. PocketMusic - Lags, more than both above mentioned.

However, I'm still sticking with that rom for now, as I've now logged probably over 10h of listening time with WMP and only got one lag during this entire time. WMP works ALMOST flawlessly, so its better than what used to be for sure. The manila music tab also works quite well, it has the usual issues with high-bitrate files, but still better than almost any previously tested rom. Plus the rom really is rock stable, and - as far as I can tell - no memory leaks.

Of course I was hasty to say the problem had been fixed - it's not, just somewhat improved. I'm using WMP for now as it provides the best results - but I don't like it's interface very much, it's not at all finger friendly, so I'm still shopping around for something better. Come on HTC, give us that hotfix... :cool:
Mine took a new turn. For long time no lag noticed in my TF3D player (only one I use after I managed to get album covers to show). Then after 3h on a flight to Manila it was revenge time, like the player had accumulated all the lags and fired them with small intervalls over a period of 10 min (had the fasten seatbelt sign not been on I would have left the aircraft). However, it stoped and is again so little that I do not notice (or it's occuring only at the time of cuts between songs). 196kbs VBR MP3 files and std. ROM 1.93. DK.

Hajima Ichiro
16th January 2009, 11:56 PM
This issue is really driving me nuts, esp. as I specifically bought this phone (Touch Pro) to play my MP3s... I gotta say I feel like an idiot spending so much for a phone that can't do what a $50 MP3 player from Walmart can do. I've been looking all over the net for solutions, too. (as if they'd be anywhere other than here...)

It really looks hopeless, doesn't it? So frustrating...
What's wrong with HTC?

Nuri58
17th January 2009, 08:48 AM
This issue is really driving me nuts, esp. as I specifically bought this phone (Touch Pro) to play my MP3s... I gotta say I feel like an idiot spending so much for a phone that can't do what a $50 MP3 player from Walmart can do. I've been looking all over the net for solutions, too. (as if they'd be anywhere other than here...)

It really looks hopeless, doesn't it? So frustrating...
What's wrong with HTC?
For a start they'd never been known for their high level music or photo quality abilities. Despite the lag problem the sound (and photo) quality have improved quite some over the last few years. A quick improvement would be to include a decent headset, (although not solving the lag), but I'd expect in a year or two HTC may get their act together and deliver lag free devices (this also goes for the GPS) with good sound and photo abilities.

thx1200
17th January 2009, 02:54 PM
HTC has released a new official ROM for the Diamond. I believe this is only for GSM Diamonds. My device is a Touch Pro and CDMA, so I'm definitely not a candidate to test this. lol.

http://www.htc.com/europe/SupportViewNews.aspx?dl_id=483&news_id=44

If anybody here would test this to see if it helps, that would really be great!

Nuri58
17th January 2009, 03:40 PM
HTC has released a new official ROM for the Diamond. I believe this is only for GSM Diamonds. My device is a Touch Pro and CDMA, so I'm definitely not a candidate to test this. lol.

http://www.htc.com/europe/SupportViewNews.aspx?dl_id=483&news_id=44

If anybody here would test this to see if it helps, that would really be great!I have flashed the new version and intend to check it out, but bigger issue is I have no GPRS/Internet connection now. Shall report back at a later stage, i.e. once I have solved this issue.

Edit:
My Internet connection issue solved - the drop down menues in SPB GPRS not working - and I had forgot to reset the phone after installing my cab confg. file. Have meawhile listened to music for about 20 min:
- music has a better sound
- Experienced one what I think was a minor lag (although I didn't experience lags in my old set up with the org 1.93 ROM - 196 Kb VBR, MP3, TD palyer).
Shall no go for as spin and see if the GPS lag has improved too, but that's another thread, but will let the music play.

Edit 2
Then after another 5 min a clear lag! So the issue seems to survive yet a ROM update.

thx1200
19th January 2009, 02:44 PM
Edit 2
Then after another 5 min a clear lag! So the issue seems to survive yet a ROM update.

Is this is the TouchFlo player or a 3rd party player? Or both? Just curious for keeping track of this issue.

As an aside, I'm writing HTC support about once per week now about this issue. I figure the more they are bugged, the more they might look into fixing it. I suggest others do the same. This has been mentioned several times in this thread, but it is worth repeating!

Also, if you bought your phone through a carrier (such as I did, I bought through Sprint), bug them too!

thx1200
19th January 2009, 02:47 PM
Just in case anybody is curious what HTC is saying now when you email them. Here is the form response I got. What is notable is that they did not even suggest that I may have an interfering 3rd party app which would require a hard reset to fix. I think that shows they are very aware of this problem. That is usually tech support's first suggestion when something goes awry in WM.


Thank you for your inquiry about audio problems with your device.

I know how frustrating it can be to not have your device function the way it should. This issue may be addressed in a maintenance ROM Update for the device. It is not known when such an update will be released as we must work with the carrier before an update can be released. I apologize for any inconvenience that this may cause you.

I hope we have answered your question in detail. Feel free to contact us again if you have any further questions.

wired69
19th January 2009, 03:07 PM
As an aside, I'm writing HTC support about once per week now about this issue. I figure the more they are bugged, the more they might look into fixing it. I suggest others do the same. This has been mentioned several times in this thread, but it is worth repeating!


Hi thx1200,

Do you have a direct email address for HTC support or are using that horrible web form on their support site? BTW, HTC admitted to me they may have lost two months worth of calls logged on the site :eek:

If you have an email address, could you share it please? I only received a no-reply email address when I last contacted them.

Cheers.

P.S. A bit off topic, but did you ever do a VGA version of your PocketPlayer skin and get the vis working at a reasonable FPS?

thx1200
20th January 2009, 02:14 AM
Hi thx1200,

Do you have a direct email address for HTC support or are using that horrible web form on their support site? BTW, HTC admitted to me they may have lost two months worth of calls logged on the site :eek:

If you have an email address, could you share it please? I only received a no-reply email address when I last contacted them.

Cheers.

P.S. A bit off topic, but did you ever do a VGA version of your PocketPlayer skin and get the vis working at a reasonable FPS?

Hmm. I have a real email address. In fact, I replied to that "form mail" and got a very quick reply from a support tech asking me for details on my device and what types of files and apps are affected and so on. So I gave him details, many links, told him we have dozens of people who have tried hard resets and multiple ROMs with no success. We will see if he writes me back again! I hope so. I am hesitant to hand out email addresses right now, although it is a pretty generic address (ie, not somebody's name).

I will ask permission first so I don't piss anybody off at HTC who might help!

As for PP stuff... The VGA skin is in the works. I have all the VGA images done, I just need to contrust the skin file. I've been busy lately cleaning the house, but promise I will get to it!

As for vis performance. This is, unfortunately, due to the fact that GDI on Diamond/Pros is very low performance in general (actually it's about the same performance as older HTC devices, but with VGA you have four times as many pixels). It is possible that a future graphics driver may improve this. Oddly, I found that I get better GDI performance by setting LOW values for "glyphcache" (a common WM tweak) instead of HIGH values, which normally is supposed to improve the transition time between landscape and portrait. Not sure why that is, but the stock value of 8KB gives me the best GDI performance (although the transition to landscape is a tiny bit slower). If you set it to something huge, like 128KB, you can actually watch the start menu redraw bit by bit after your device has been on a while and, I guess, cached up a lot of graphics data. lol.

So unless Conduits moves to OpenGL ES visualizations (which would not be a bad idea) or some sort of raw framebuffer (reinventing the wheel, so-to-speak), OR HTC creates some sort of GDI to OpenGL ES wrapper in their video driver (which would take advantage of the accelerated graphics for old GDI apps) expect poor vis performance in PP.

P.S. It's worth writing Conduits on that matter. OpenGL ES is becoming the de facto accelerated graphics standard in WM. Especially now that MS is no longer developing DirectX for mobile.

thx1200
20th January 2009, 05:05 PM
Just when I thought I was making progress, I get a response that sounds like they've never heard of this problem. lol. Ver batim below...


Thank you for your response.

I understand how frustrating it is to have your audio skip during playback. I am not a aware of any known issue with playback, but I will be gal d to investigate this matter for you.

First, I read your string of emails to gather the information and examples you have provided. I also read the forum that you suggested and was not able to find any solid example to describe the issue.

Next, I took our Sprint Touch Pro and began testing under different circumstances to recreate the issue as you describe it.
• Streaming video: I watched at least 30 minutes of content from Sprint TV, and the audio never skipped.
• MP3 files at 320 bitrate: I listened to 10 songs in a row from the TouchFLO music player and never experienced any playback problems. I also performed this test with a stereo Bluetooth headset without issue. I then tried from Windows Media Player Mobile and had no issues.
I only once experienced choppy playback when opening and running numerous programs while listening to music. I had opened Windows Media Player, Album, Camera, Calendar, Contacts, Excel, File Explorer, Internet Explorer, One Note, PowerPoint, and it finally skipped when opening Opera in addition to that. That instance only appears to be a shortage of RAM from the running programs, but after skipping, the playback was perfect while all programs were still running.

I would like to note that streaming audio/video is subject to skipping and pausing due to the nature of the technology. If your signal is interrupted then the playback will likewise be interrupted.

The bottom line is I could not replicate any audio playback problems as you experienced. I will check with a specialist to see if we should investigate your unit in particular. If that is the case, then I will ask you to assist us by capturing the phone's operating logs.

I would like to know the ROM version you are using, and make sure that when you did perform the hard reset, that you allowed the customizations to complete.

looby
20th January 2009, 05:49 PM
Oh yea, I suppose we are all just imagining it :rolleyes::rolleyes:

thx1200
20th January 2009, 07:26 PM
Now, now. He's being helpful. I've had about four email correspondences with him and he's digging into this. He's even tested it on his SPrint Touch Pro test device (this is HTC America, btw) and he says he hears no skip on his device, for what it's worth.

I was investigating the HTC Audio Manager and noticed something...

First, it rarely skips on my phone. lol. I guess I shoudl have tried it out ages ago. I just use Pocket Player exclusively and noticed that most people on this thread have bad luck with HTCAM so I assumed I would too. I can make it skip by performing certain activities (such as turning the radio on and off), but otherwise I rarely get a skip unless I receive a text message or something.

Second, examining the AudioManager_Eng.exe process in DotFred's task manager, I noticed it has one thread with a ridiculously high priority (150). A primer on Windows CE thread priorities. There are 256. 0-255. 255 is lowest priority, 0 is highest (basically, kernel mode). Most CE priorities occupy the bottom 7. 255 is considered "idle." Basically it is blocked. The next six are the standard levels: low, below normal, normal, above normal, high. Above that are "realtime" levels. In DotFred's Task Manager the highest you can set is 248. So, as you can see, 150 is ridiculously high priority. Is this the HTCAM's "fix" that keeps it from skipping (much)?

What priority do people see here for "broken" HTCAM versions?

Keep in mind that HTCAM has eight threads and only one is set to 150 for me.

Sprint Stock ROM for HTC Touch Pro

EDIT: I bumped HTCAM down to 248. It still didn't skip for me. I then went in and bumped all of PP's ACTIVE threads up to 248. There are at least four threads that do a lot of work (I looked at "CPU Time" column to see which ones were active -- anything above 1 second of CPU time got bumped). A couple of those threads were actually at Below Normal priority. Anyway, the "every five minutes" skip is definitely gone. I'm also not disabling all power management which gave me some good results earlier.

How to adjust thread priority. Run DotFred's Task Manager. Click+hold on the target process and choose details. Go to the Threads tab. Look for threads that are active (play a song before doing this so you can see which ones have high CPU Time). Bump them to "Time Critical" priority. Test. Report! Also, I have PP set to "Extreme" Decoder priority in the PP settings.

EDIT 2: I got my first lag now with these settings after 35 minutes of music. Curiously, it happened again 5 minutes later. Now it's happening with some regularity, but not on a 5 minute schedule. What gives?? Why would I get nearly 40 minutes of awesome playback randomly?

TIP: Make sure your visualizations are disabled in PP. If you accidentally boost your vis thread, it will make your phone nearly unusuably slow. :-)

EDIT 3: Now it's back to every five minutes. Why does something seem to work for like... an hour. Then it just stops working and the problem is back with a vengence? On a side note, I cannot get the HTC Audio Manager to skip for me. This is a stock Sprint ROM here. I set all the priorities to Below Normal and it was solid for like 15 minutes until I got an email. The "email sound" caused it to lag. This didn't happen when it was at its normal priority.

ede77
28th January 2009, 07:42 AM
Something new about HTC Hotfix?

Greets!

wired69
30th January 2009, 03:37 PM
I then went in and bumped all of PP's ACTIVE threads up to 248. There are at least four threads that do a lot of work (I looked at "CPU Time" column to see which ones were active -- anything above 1 second of CPU time got bumped). A couple of those threads were actually at Below Normal priority. Anyway, the "every five minutes" skip is definitely gone. I'm also not disabling all power management which gave me some good results earlier.

How to adjust thread priority. Run DotFred's Task Manager. Click+hold on the target process and choose details. Go to the Threads tab. Look for threads that are active (play a song before doing this so you can see which ones have high CPU Time). Bump them to "Time Critical" priority. Test. Report! Also, I have PP set to "Extreme" Decoder priority in the PP settings.


I decided to try all this just in case it worked for me, even for a short time. Sadly it didn't, in fact, it may have made things worse for me as I'm sure there were a number of clicks outside of the lag every 5 minutes which I'm sure were not encoding artifacts.

I also decided to play around with the audio driver priority but haven't noticed a difference (I thought the gap may be shorter but it could be a placebo effect). You can modify it via the registry here:

HKLM\Drivers\BuiltIn\WaveDev\Priority256

I am not sure what the optimal value is for this but if anyone would like to try it, knock yourself out! My default value was set to 149 (decimal) and I have tried 0 and 1, also found an MSDN article which lists it as 210. I would recommend a soft reset after changing this value.

BTW thx1200, any news from Conduits about a possible PP fix/workaround?

Something new about HTC Hotfix?

Greets!

I checked the related Blackstone/HD thread and they still have the same issues so I doubt HTC will admit this is a hardware issue which is looking more and more likely to me.

I have been playing around with new ROMs recently so I might give the beta of Windows Mobile 6.5 a go and see if this helps!

thx1200
31st January 2009, 03:01 AM
BTW thx1200, any news from Conduits about a possible PP fix/workaround?


I have been emailing back and forth with Conduits trying to figure something out. They have some ideas, but I haven't heard about them having success yet. As with the AVRCP problem, they seem to be taking a keen interest in this. If anybody can figure it out, they can. They are an amazing group of developers. I never cease to be impressed with the way they can work around various WM issues. They have working copies of the audio manager exe now, so hopefully they can figure out what the heck its doing to avoid the skipping issue.

kcliu02
6th February 2009, 02:56 AM
Hello, it seems much better after modify registry

HKLM\Drivers\BuiltIn\WaveDev\Priority256
change 149 to 50

I have listened music for 30 minutes already (with screen off, no other program running),
cannot realize sound lag yet.

Under testing.....

wired69
6th February 2009, 08:42 AM
Hello, it seems much better after modify registry

HKLM\Drivers\BuiltIn\WaveDev\Priority256
change 149 to 50

I have listened music for 30 minutes already (with screen off, no other program running),
cannot realize sound lag yet.

Under testing.....

I'm glad this works for someone else! Out of curiousity, how bad was it for you before making the change and what player are you using?

kcliu02
6th February 2009, 09:51 AM
I'm glad this works for someone else! Out of curiousity, how bad was it for you before making the change and what player are you using?

Hi, I am using the player of TouchFlo interface.

Before:
music always stop for half second and play again, every 5 minutes

After:
very short pause after playing music for 45 minutes

Let try! no harm.

JiBB
6th February 2009, 06:55 PM
this is kind of a noobish question but how does one going about editing the reg on a windows mobile?

edit: Nevermind I got it. And it didn't seem to do anything for me...

uccoffee
9th February 2009, 08:57 AM
the regedit of wavedev works for my diamond for asf files .
Havent try mp3 and others yet
Many thanks :D

Prewien
9th February 2009, 09:03 AM
Damn! I just noticed this thread!

So much pages to read... Too much :P

But here also the same problem and as a producer it bugs me ALOT!!
From the last couple of posts I assume that it hasn't been fixed yet...

But in my case it's different, it's not every 5 or 45 mins.
sometimes it's 5 and sometimes its 25 :confused: no real time intervals here...
So don't think it will work.. I hope this problem will be solved soon :)

Is there anyone out there who doesnt have this prob?

uccoffee
10th February 2009, 11:21 PM
I think it's something due to background service, the lag minimise if I let the music player run on high priority (pocket player & core player's got that option), and turn the screen off while playing music.

It does not lag as much when playing low bitrate mp3 or asf after changing the wavedev = 50 in registry.

I also found it lag more when I shake the diamond, maybe becos of the G-sensor, is it possible to turn off g-sensor at background?

blackjackjolly
14th February 2009, 08:50 PM
For what it's worth, I have experienced this with MP3s in WMP and the TF3d music player on my Sprint (CDMA) Touch Pro, and I have discovered that it only happens when I am playing music from my MicroSDHC card (Kingston 8gb class4), and apparently, only when I load more than about 2gb of music on it. It doesn't happen when I have music in main memory, or on the 1gb MicroSD card that came with the phone. I am considering trying a class 6 card, but it may be a question of quantity, not speed.

This bugs me because one of the reasons I went with the Touch Pro was that the memory was expandable.

tomahak
15th February 2009, 01:03 AM
Hi guys,

just wanna inform you, that the lags have nothing to do, if you are playing any MP3 File at all. It always lags, on any audio. I tried any bitrate and wavefile, from storage and internal device, always the same shit. Also after using a tool brainzapr which is a simple programm, which generates Binauaral Audio, the lag is obviously there too.
Thats why I came to the conlusion, that it must have something to do, with a service running in the backround, which checks something. It also means, that it has nothing to do with your Internal Storage Card.

Btw, the Diamond is a really noisy device, if you are using it with High-End In Ears, like the Westone UM2 (because of the high Sensitivity and low Impedance of 27 Ohms). Its unusable, if you dont use a Level Attentuator like this one (http://www.earphonesolutions.com/leatwivoco.html), which removes the noise. But using it, the sound gets a little bit dull. So if you wanna have a good sound device, forget about thinking using the TD as a MP3 Player.

cu

tomahak

uccoffee
15th February 2009, 01:11 AM
I think it's something due to background service, the lag minimise if I let the music player run on high priority (pocket player & core player's got that option), and turn the screen off while playing music.

It does not lag as much when playing low bitrate mp3 or asf after changing the wavedev = 50 in registry.

I also found it lag more when I shake the diamond, maybe becos of the G-sensor, is it possible to turn off g-sensor at background?

I was totally WRONG!
The BIG lag is exactly 5 minutes like many other people said, it is still there even I set high piority to the music player.

The other small pop/lag are more like TD is a bad mp3 player like what tomahak said...

uccoffee
17th February 2009, 10:50 PM
Just to show those one who do not understand what is the 5 mins lag, I record and upload to youtube.
http://www.youtube.com/watch?v=fVC-144zcKs
http://www.youtube.com/watch?v=kDv9bou-7ag

I was using windows media player in this video, the lag is very hard to spot while using Touchflo's audio player.

I also send the video to HTC via email as well.
They just want me to send the phone to service centre... which will then take at least 10 days before I get the phone back... this is australia ....

looby
18th February 2009, 11:44 AM
Nice one uccoffee..:)

wired69
18th February 2009, 12:55 PM
Just to show those one who do not understand what is the 5 mins lag, I record and upload to youtube.
http://www.youtube.com/watch?v=fVC-144zcKs
http://www.youtube.com/watch?v=kDv9bou-7ag


Wow, you are actually quite lucky. For me the lag is a LOT more noticable than the two examples above! It's partly down to me being too stuborn to switch away from Pocket Player which is the worst player when the lag hits. I might post a sound clip or two later if I get a chance!

wired69
18th February 2009, 02:26 PM
OK then, here is some undeniable proof of how bad this problem really is!

I have attached a zip file with two sound clips recorded on my PC directly from my Diamond. Below you can clearly see there is a gaping hole in the two waveforms. The second sound clip demonstrates the sound lag issue at it's worst, aside from the usual gap there is also a nasty pop/click as well.

http://img7.imageshack.us/img7/1545/htcsoundlag1fm9.png
http://img179.imageshack.us/img179/5717/htcsoundlag2ib3.png


:mad:Make sure you check out the attachment to hear for youself what I have to put up with every bloody five minutes!:mad:

looby
18th February 2009, 03:03 PM
Excellent work. Have you sent these pics. to HTC? As far as I can see this is irrefutable proof and that a Hotfix if possible is necessary sooner rather than later. Surely they are not going to release the Diamond2 etc. with the same issue!

uccoffee
18th February 2009, 10:21 PM
OK then, here is some undeniable proof of how bad this problem really is!

I have attached a zip file with two sound clips recorded on my PC directly from my Diamond. Below you can clearly see there is a gaping hole in the two waveforms. The second sound clip demonstrates the sound lag issue at it's worst, aside from the usual gap there is also a nasty pop/click as well.

:mad:Make sure you check out the attachment to hear for youself what I have to put up with every bloody five minutes!:mad:


Very nice way to test, cos it's visualise, and mark the lag point, save time!
You should record more than 5 mintues, to show that it actually repeat evey 5 minutes.

Please send to HTC! Australia HTC technician said only limited people report this problem...
And he told me that it should be fixed in the next ROM update (from telstra, 1.93), which I do not believe that will help, cos I had already try the official 2.03 ROM from this site....

nixgegendenise
18th February 2009, 11:45 PM
There is the theory that the lag vanishs, if the G-sensor is deactivated. Can anyone verificate or falsificate this?
I would try, but I don't know how to deactivate the G-sensor.

jay_zhead
19th February 2009, 10:38 AM
There is the theory that the lag vanishs, if the G-sensor is deactivated. Can anyone verificate or falsificate this?
I would try, but I don't know how to deactivate the G-sensor.

Negative. Devices with no G-Sensor at all (the new Touch, for example) also exhibit this problem.

Prewien
19th February 2009, 12:01 PM
do other brands have this lag too? or the devices with touchflo only?
there has to be something different that does this.. and if this lag exists on all phones its windows who messes it up...

and to wired69, that little peak is that coming from the diamond? or the actuall song?
this is interesting, i'm gonna check this out too by recording and analyzing the song when on my phone and the actual mp3

wired69
19th February 2009, 12:51 PM
do other brands have this lag too? or the devices with touchflo only?
there has to be something different that does this.. and if this lag exists on all phones its windows who messes it up...

and to wired69, that little peak is that coming from the diamond? or the actuall song?
this is interesting, i'm gonna check this out too by recording and analyzing the song when on my phone and the actual mp3

From what I have read, all HTC devices or HTC made devices (such as the Sony Ericsson Xperia X1) suffer from the problem.

The waveforms in my previous post were recorded using a cable to connect my Diamond's audio out to my PC's Line In and I recorded the output using Goldwave. I could easily compare an original MP3 with one played on the Diamond but there is no point, it would just show the gap in the Diamond's output as in the previous post.

As for the G-Sensor causing the problem, this as jay_zhead pointed out is not the case, I tested that back in August. EVERYTHING seems to have been tested with no solution in sight, but just to reiterate for anyone not bothering to read all 30 pages:

- It has nothing to do with the audio source (MP3, WAV, WMA) or the bitrate
- It has nothing to do with the storage used (Device or Internal) as it also affects streaming audio
- MANY ROMs have been tested, some are better than others but none resolve the problem completely
- Some Media Players work better than others, the TouchFlo player is the best with later ROMs, the lag is usually less frequent or almost non-existant whilst Pocket Player is the worst :(
- Disabling all Radios (or turning on Flight Mode) has no affect
- Disabling TouchFlo has no affect
- Killing all non-essential Processes and stopping Services and Notifications has no affect
- Some registry and Power Management tweaks may help but they do NOT resolve the problem completely

ALSO - THIS THREAD IS FOR THE PROBLEM WHERE LAG OCCURS AT EXACTLY FIVE MINUTE INTERVALS
IT IS NOT AS OTHER PEOPLE HAVE REPORTED FOR WHEN THERE IS SOUND DEGRADATION
THIS IS OFTEN CAUSED BY PLAYING HIGH BITRATE MUSIC IN TOUCHFLO
(AND IS OFTEN CAUSED WHILTS MULTI-TASKING AND RUNNING OUT OF CPU AND/OR MEMORY!!!!)
OTHER MEDIA PLAYERS ARE FAR LESS PRONE TO THIS THAN TOUCHFLO



So, the only real solution is to NOT use an HTC device if you want to listen to music.


P.S. dotFred Task Manager is an invaluable tool for trying different things to fix this, I just noticed the 'Devices' section. If anyone else would like to experiment a bit, try disabling some devices to see if it helps (be careful though, you may disable something important and need to reset or even take the battery out to recover). I would do it but I go through phases of being determined to find the solution myself to just giving up in despair. I am currently in the latter phase!

Prewien
19th February 2009, 12:59 PM
i also have that thing so i can plug my in ears in :)
but i see a small peak in that waveform, might be from the music, or from the phone itself. do you know what's the case?
how is the lag on the omnia..?

i'm listening to music right now.. last 2 week all day at work.. I'M GETTING PRETTY SICK OF THE LAG!
and i flashed a different rom now and this one lags more! but more ram is used in this rom... so could that be something?...
in my old rom it was between 5 - 25 mins and now its basically within 7 mins!!

nixgegendenise
19th February 2009, 04:57 PM
So, the only real solution is to NOT use an HTC device if you want to listen to music.
Well, what about the Android mobile phones ;) ?

Jamolah
19th February 2009, 06:49 PM
I had a HTC Touch and it had the sound lag. So, it's not related to teh G-sensor.

uccoffee
19th February 2009, 10:41 PM
From what I have read, all HTC devices or HTC made devices (such as the Sony Ericsson Xperia X1) suffer from the problem.

...

- Some Media Players work better than others, the TouchFlo player is the best with later ROMs, the lag is usually less frequent or almost non-existant whilst Pocket Player is the worst :(


Finally someone agree with me that TouchFLO minimise the lag ...
Maybe the TouchFLo 3D is optimised for the MSM7201A chip.
how about TOuch flo 2D? has anyone tried? also, anyone tried a ROM without TOuchFLO installed?

thx1200
20th February 2009, 04:28 AM
I just wanted to add that the five-minute interval lag is completely non-existent in some ROMs with the touchflo player (but only that player). Wired69 says "almost" but on my device, if I use the touchflo player (HTC Audio Manager) it will never skip unless I put the device under heavy load (ie, run a bunch of apps so a CPU or IO bottleneck occurs). So, due to this, there should be a solution to somehow reduce or eliminate the 5-minute lag in other players if we could figure out what the trick is that HTC is using. Now, the device will never be a perfect audio player since it will fail playback under load. I'm okay with that. I realize it's a multitasking device (unlike, say, the iphone) and if I'm doing a lot of crap, I can deal with a little hiccup now and again. The five mintue lag happens even under no load whatsoever, which is what makes this problem so incredibly frustrating.

Thanks for the summary, wired69.

Prewien
20th February 2009, 07:47 AM
also, when i use the TF3D player (havent used others actually to play music) the last few seconds of a song gets cut off!
anyone encountering this problem too? i had this on every rom i've used

nixgegendenise
20th February 2009, 11:06 AM
also, when i use the TF3D player (havent used others actually to play music) the last few seconds of a song gets cut off!
anyone encountering this problem too?
Yeah, me. And this is exactly the reason why I don't use this crappy player. I use the WMPM with an alternative skin: http://mylostblog.altervista.org/skins/media-player-skins/original-skins/wmp-skin-006-iphone-20

wired69
20th February 2009, 02:20 PM
As it's Friday, I thought I would experiment a bit. I have just installed a Windows Mobile 6.5 hybrid Diamond ROM (this one to be exact: http://forum.xda-developers.com/showthread.php?t=482878).

My results so far:

Pocket Player: Usual lag every 5 minuts but not as bad as my previous ROM
Windows Media Player: No lag for the first hour! After that, small gaps were heard every 5 minutes
Nitrogen: Lag every 5 minutes (worse than WMP, better than PP)

Didn't bother with the TouchFlo player as I have TouchFlo disabled and I am using Titanium instead.

Of course, this ROM still needs HTC drivers and core components to work on the Diamond so it is hardly suprising there are still issues.

BTW, I have always hated Windows Media Player (on Windows and Windows Mobile) but could someone let me know if the following is normal? I shuffled all my MP3 tracks (just over 500) and there is a lag of up to 10 seconds between tracks or when skipping tracks! Granted, most of my tracks have embedded album art at 480x480 but PP is almost instant and I had no issues with Nitrogen either and that is just a homemade freeware player!

nixgegendenise
20th February 2009, 02:36 PM
Hi wired,
you wrote:
"From what I have read, all HTC devices or HTC made devices "
Do you have these info also for the HTC BlackStone = Touch HD and the HTC Dream = G1?
Thanx

wired69
20th February 2009, 03:06 PM
Hi wired,
you wrote:
"From what I have read, all HTC devices or HTC made devices "
Do you have these info also for the HTC BlackStone = Touch HD and the HTC Dream = G1?
Thanx

The Blackstone/HD also suffers from this, not sure about the G1 (possibly not as it is running Android instead of WinMo)

nixgegendenise
20th February 2009, 03:11 PM
The Blackstone/HD also suffers from this
Ok, thank you very much.
So I will wait for the first experiences with the Diamond2 or the G*'s.

uccoffee
20th February 2009, 11:41 PM
Ok, thank you very much.
So I will wait for the first experiences with the Diamond2 or the G*'s.

Have u guys report to HTC?
I just wonder how come not many ppl complain this in the touch pro/HD/X1 forum...

budsant
21st February 2009, 03:11 AM
I have htc touch (Elf 100), the first good old generation and never experience this sound lag problem. Only if i turned off the display during the music play I got a few stutters for 2/3 seconds at the beginning and thats all. all songs have albumart with bitrate 192 and are stored in my SD Card. My ROM is Onyx Ultimate 4.1.6 (with manilla TF2D)

ROM 3.07.720.03 WWE
Radio 02.93.90

I was thinking to buy a touch diamond but then I found this discussion and I change my mind...

is there anyone without this problem on their touch diamond ? not even one person ???
if there is someone with a perfect touch diamond without sound lag, which rom, tweaks, and software do you have ?

is it because of the processor (qualcomm) ? mine is 32 bit Texas Instruments OMAP 850

uccoffee
21st February 2009, 03:38 AM
I have htc touch (Elf 100), the first good old generation and never experience this sound lag problem. Only if i turned off the display during the music play I got a few stutters for 2/3 seconds at the beginning and thats all. all songs have albumart with bitrate 192 and are stored in my SD Card. My ROM is Onyx Ultimate 4.1.6 (with manilla TF2D)

ROM 3.07.720.03 WWE
Radio 02.93.90

I was thinking to buy a touch diamond but then I found this discussion and I change my mind...

is there anyone without this problem on their touch diamond ? not even one person ???
if there is someone with a perfect touch diamond without sound lag, which rom, tweaks, and software do you have ?

is it because of the processor (qualcomm) ? mine is 32 bit Texas Instruments OMAP 850

Seems like there's no problem if you only use the TOUCHFLO3D to play the music.
BUt touchFLO cannot play ASF, AAC

Nuri58
21st February 2009, 10:50 AM
I have htc touch (Elf 100), the first good old generation and never experience this sound lag problem. Only if i turned off the display during the music play I got a few stutters for 2/3 seconds at the beginning and thats all. all songs have albumart with bitrate 192 and are stored in my SD Card. My ROM is Onyx Ultimate 4.1.6 (with manilla TF2D)

ROM 3.07.720.03 WWE
Radio 02.93.90

I was thinking to buy a touch diamond but then I found this discussion and I change my mind...

is there anyone without this problem on their touch diamond ? not even one person ???
if there is someone with a perfect touch diamond without sound lag, which rom, tweaks, and software do you have ?

is it because of the processor (qualcomm) ? mine is 32 bit Texas Instruments OMAP 850
I use TFlow and do not sense the problem - just returned from Africa and I noticed no lags for the 5½ hour my bat. lasted. My wife, having a newer TD than mine, but same ROM and set-up seems to have the lack at times, which beats me. In any case the TD is not to be confused with a top MP3 player (better than my previous HTC phones though), but just OK for traveling. Using the FM radio none of us got the problem. Have anyone experienced the problem with the FM radio?

looby
21st February 2009, 11:29 AM
Seems like there's no problem if you only use the TOUCHFLO3D to play the music.
BUt touchFLO cannot play ASF, AAC

My Diamond with stock 1.93 ROM lags every 5 mins with TouchFlo3D and if you read this thread so do most peoples:cool:

nixgegendenise
22nd February 2009, 09:54 PM
There is the theory that the problem is based on the drivers of the headphone. Using a BT headset instead the cable headset should solve it.

Nuri58
23rd February 2009, 03:18 PM
There is the theory that the problem is based on the drivers of the headphone. Using a BT headset instead the cable headset should solve it.But the headset coming with the TD is the same from TD to TD, so why some do not have the problem?

elamodelmerol
23rd February 2009, 04:12 PM
i tested several different roms and it was happening with all of them until i tried the pistonsripper new room now it seems to work fine however there is still a bug with it when i'm playing a he-aac+ v2 music file suddenly all the sound goes out and you can't hear anything at all anymore on your diamond till you do a soft reset on it(it happens randomly sometimes it plays it just fine). Does anyone have tried this type of music files?

P.S. I have a DIAM100

drivenbythemadness
25th February 2009, 01:05 AM
ive visited the htc site,i see in their discription that they finally admit theres a bug,they released a new rom ,wich says it will fix the bug.
ill try this first thing tomorrow morning,if anyone gets to it before me please comment about the rom.

heres the link

hope this works,

http://www.htc.com/www/SupportDownload.aspx?p_id=133&cat=2&dl_id=483

d12bn
25th February 2009, 02:58 AM
I have Motorola S9 bluetooth headset and I get the lag, it sucks. I used them with the Touch with no problems.
I can't download the ROM listed above, I keep getting a service down message. Anyone else having problems with download?

Can anyone tell me if my ROM is the latest? Its 1.09.651.5, build date 8/04/08

Thanks

jay_zhead
25th February 2009, 04:15 PM
ive visited the htc site,i see in their discription that they finally admit theres a bug,they released a new rom ,wich says it will fix the bug.
ill try this first thing tomorrow morning,if anyone gets to it before me please comment about the rom.

heres the link

hope this works,

http://www.htc.com/www/SupportDownload.aspx?p_id=133&cat=2&dl_id=483

Save yourself the trouble of flashing, it doesn't fix it. It's the ROM they released in January, it addresses some minor bugs with the TF3D music tab, not the major bug that lags the diamond's entire sound output system.

charlietron
26th February 2009, 11:10 AM
Save yourself the trouble of flashing, it doesn't fix it. It's the ROM they released in January, it addresses some minor bugs with the TF3D music tab, not the major bug that lags the diamond's entire sound output system.

Yes, it doesn't fix the bug.
I experienced this issue, as you all, in HTC P3300 and Cruise, and now in my Diamond.
I haven't test another music player, but I think the music player form the TF3D is based on WM. WM gives me the same issue. As KULTUS says, how many years is WM with us? It didn't happen to me in my old HP RX3715 nor in my Nokia 3210, 3310, 7250i, 6230...
Such a thing as MP3 players should be issue free by now...

ainatar
26th February 2009, 08:23 PM
After upgrading to Duttys newest ROM I noticed that the sound lag is gone. Anyone else noticed this? I just wonder why and what it is that effects the lag..

nixgegendenise
27th February 2009, 02:55 PM
There is a new official ROM from today, 27/02/09:
http://www.htc.com/www/SupportViewNews.aspx?dl_id=483&news_id=68

Improved Functions and Fixes



1. When you launch the Camera while the system is working on other programs, the preview screen may become black.

2. When playing a video, sometimes a portion of the video will be cut off a little bit.

3. Fixes Audio playback problem with the speaker. Specific issues: sometimes the music will turn off and on after 10 minutes, or there is a buzzing sound or no sound at all.

4. Fixes the problem of not being able to receive MMS when in standby mode.

5. When launching music via the Music tab on TouchFLO 3D, the sound may intermittently turn off for a second and come back on.



*fingerscrossed*

joeearl13
27th February 2009, 04:21 PM
There is a new official ROM from today, 27/02/09:
http://www.htc.com/www/SupportViewNews.aspx?dl_id=483&news_id=68


*fingerscrossed*
Can anyone upload the English version somewhere?

Prewien
27th February 2009, 07:07 PM
I only use the tf3d player.. but still lags.. guess it's a driver issue, or something... when i watch youtube movies i didnt notice the lag... maybe when the screen is off it wants to turn the music off, but because its forced it keeps on playing, but with a pause because the phone stopped it and turned it back on?

nixgegendenise
27th February 2009, 09:22 PM
Well, I've installed today's original HTC stock ROM for the Diamond in German and .... the lag still exists in WM :-( It is a little bit shorter and less disturbing though.
I will try out the behavior of the TF3D player...

EDIT:
The TF3D-Player also stilll has the lag and, even worse, cuts off the last couple of seconds of each song :(

Nuri58
28th February 2009, 10:29 AM
There is a new official ROM from today, 27/02/09:
http://www.htc.com/www/SupportViewNews.aspx?dl_id=483&news_id=68


*fingerscrossed*Any one tried?

nixgegendenise
28th February 2009, 10:37 AM
Any one tried?
See the post above.

Prewien
28th February 2009, 06:32 PM
EDIT:
The TF3D-Player also stilll has the lag and, even worse, cuts off the last couple of seconds of each song :(


i had that with all my roms so far... :(

Nuri58
28th February 2009, 08:06 PM
i had that with all my roms so far... :(

Just installed and listened 15 min w/o any of these reported issues. I wonder if it is HW related to the various batches??

Prewien
28th February 2009, 10:07 PM
Just installed and listened 15 min w/o any of these reported issues. I wonder if it is HW related to the various batches??

what rom are you using and did you have the problem before?

Prewien
28th February 2009, 10:08 PM
Well, I've installed today's original HTC stock ROM for the Diamond in German and .... the lag still exists in WM :-( It is a little bit shorter and less disturbing though.
I will try out the behavior of the TF3D player...

EDIT:
The TF3D-Player also stilll has the lag and, even worse, cuts off the last couple of seconds of each song :(

WHYYYY are they claiming that they fixed it then!!!

thx1200
1st March 2009, 07:14 AM
Just installed and listened 15 min w/o any of these reported issues. I wonder if it is HW related to the various batches??

It's worth pointing out (again) to newcomers that there ARE ROMs where the TF3D player does NOT lag, but the audio lag problem will always exist in all 3rd party players. There are still people (like myself) trying to figure out how HTC did it in their app so the same technique can be applied elsewhere.

JiBB
1st March 2009, 03:34 PM
New updates

http://www.conduits.com/community/forum_posts.asp?TID=1402&TPN=3

This is looking rather grim...

thx1200
1st March 2009, 04:29 PM
New updates

http://www.conduits.com/community/forum_posts.asp?TID=1402&TPN=3

This is looking rather grim...

For the lazy... ;-)


We have done extensive tests regarding the HTC audio skipping issue, and have come to the conclusion that it is not something that Conduits can address. After analyzing the HTC Audio Manager program, and several other files (such as HTC’s DirectShow Audio Renderer HTCRenderFlt2.dll and HTCADXRenderer4.dll), we found that both are making some very special system calls into the WaveOut driver.

Here are some technical details for what we have found. First, we don’t think that thread or process priority have anything to do with the problem. Normal audio application use a cycle of ‘waveOut buffers’ that keep the audio output ‘full’ with audio data for the system to pull from and play. Applications use standard waveOutWrite functions to fill these buffers. From Pocket Player’s standpoint, these buffers are always full, and adjusting the priorities won’t affect this. One way to improve audio skips (that has affected the HTC TyTN) was to boost the thread priority of the WaveOut driver by editing a registry value under HKLM\Drivers\Builtin\WaveOut. This approach did not work here. Interestingly enough, these skipping problems occur on desktop PC’s. There, the problem is related to realtime drivers that take “too long” in their processing, which prevents the audio driver from processing the next batch of sound. This happens in Vista with some MacBook drivers.

The Audio Manager uses a different output mechanism from the standard waveOut calls – it uses the DirectShow audio renderer filter, which is another way to send audio. Looking in the internals of how it works, it is using a completely different mechanism. It is using a proprietary waveOutMessage call to open a new message queue, which audio is then “streamed” through.

Pocket Player (and other applications) could possibly resolve this issue by using the HTC Audio Renderer instead of their own waveOut routines, but then we would lose crossfading and other Pocket Player –specific features. We did some initial tests of creating a DirectShow filter graph (complete with their Audio Renderer) but still experienced the skipping, so there must be additional steps.

As a result, Conduits is now regarding this as a device-specific problem that the manufacturer is obligated to fix. Alternatively, if HTC wants to document their special “streaming mode” for their audio output driver, we could look into adapting to that model.


I've had success contacting info@htc.com and getting a real live person to talk to with a decent amount of tech savvy. This is an American support address, but I think we need to contac them POLITELY with the amazingly detailed information Conduits has provided us. I'm going to do that now.

thx1200
1st March 2009, 04:47 PM
My email to HTC I just sent.


Hello again. I took a long break and actively worked with third party player developer Conduits as well as many in the XDA community before replying so I wouldn’t waste your time with incomplete information about this bug we have found. :-)

A refresher of the problem I am writing about.

1. Every 5 minutes, when using any third party audio player (or any game or other app that has audio), HTC Touch Diamond, Touch Pro, and Touch HD devices will have an audible “skip” or “lag” or “tick” where for a fraction of a second, audio will not play.
2. The built-in AudioManager does not experience this problem in the newest ROMs (such as that bundled with Sprint’s Touch Pro).
3. This is completely different from “ticks” that occur from playing off of low-quality external storage. This happens in all cases on all target devices.
4. I have personally had this problem on three Touch Pros (my first had a hardware problem with the capacitive touch panel and my second would randomly freeze, so I was “lucky” to able to test this on three different devices to rule out a hardware fluke).

New information. I tried a lot of different approaches to resolve this issue and Conduits did a thorough investigation of how their player works and how AudioManager works and what the difference is.

1. I have boosted PocketPlayer to various levels of realtime thread priority (ranging from 248 all the way up to 5) and still had the skip.
2. I have tried stopping many “unnecessary” services and processes running that could externally affect playback.
3. I have tried on many “virgin” installs where NOTHING is installed except PocketPlayer (or other 3rd party player) after a hard reset to rule out other software.
4. I am NOT using a custom home-brewed ROM. I am using the HTC/Sprint official ROM.
5. Conduits did extensive investigation (quoted below) and discovered that AudioManager accesses the waveout completely differently from the standard WM way. They (and any other third party audio program) could fix this issue, if it was documented how AudioManager does it without skipping. It’s apparently possible, just nobody knows how to do it except HTC.

My request. Either a new ROM with a “fixed” audio driver that provides the enhanced playback AudioManager currently enjoys to all audio apps ---OR--- a step-by-step “how to” for accessing the audio driver the way HTC Audio Manager does, so third parties could incorporate the enhanced stable playback into their players.

Email from Conduits...


We have done extensive tests regarding the HTC audio skipping issue, and have come to the conclusion that it is not something that Conduits can address. After analyzing the HTC Audio Manager program, and several other files (such as HTC’s DirectShow Audio Renderer HTCRenderFlt2.dll and HTCADXRenderer4.dll), we found that both are making some very special system calls into the WaveOut driver.

Here are some technical details for what we have found. First, we don’t think that thread or process priority have anything to do with the problem. Normal audio application use a cycle of ‘waveOut buffers’ that keep the audio output ‘full’ with audio data for the system to pull from and play. Applications use standard waveOutWrite functions to fill these buffers. From Pocket Player’s standpoint, these buffers are always full, and adjusting the priorities won’t affect this. One way to improve audio skips (that has affected the HTC TyTN) was to boost the thread priority of the WaveOut driver by editing a registry value under HKLM\Drivers\Builtin\WaveOut. This approach did not work here. Interestingly enough, these skipping problems occur on desktop PC’s. There, the problem is related to realtime drivers that take “too long” in their processing, which prevents the audio driver from processing the next batch of sound. This happens in Vista with some MacBook drivers.

The Audio Manager uses a different output mechanism from the standard waveOut calls – it uses the DirectShow audio renderer filter, which is another way to send audio. Looking in the internals of how it works, it is using a completely different mechanism. It is using a proprietary waveOutMessage call to open a new message queue, which audio is then “streamed” through.

Pocket Player (and other applications) could possibly resolve this issue by using the HTC Audio Renderer instead of their own waveOut routines, but then we would lose crossfading and other Pocket Player –specific features. We did some initial tests of creating a DirectShow filter graph (complete with their Audio Renderer) but still experienced the skipping, so there must be additional steps.

As a result, Conduits is now regarding this as a device-specific problem that the manufacturer is obligated to fix. Alternatively, if HTC wants to document their special “streaming mode” for their audio output driver, we could look into adapting to that model.

Nuri58
1st March 2009, 05:21 PM
what rom are you using and did you have the problem before?
I am using the latest release HTC ROM 2.03.403.3 and Radion 1.09.25.23.. I did not suffer much from the lag problem, but my wife's TD set-up exactly the same way (same ROM download + a sprite backup from my phone) seems to suffer from the lag, although not every 5 min. I have not yet had time or posibility to install the new ROM on her TD and check it. But I think there must be a difference in HW as well otherwise I cannot explain the difference unless it due to hers is white. Let's see other reports about the new ROM.

nixgegendenise
2nd March 2009, 09:30 AM
It's worth pointing out (again) to newcomers that there ARE ROMs where the TF3D player does NOT lag
Well, I tried a lot of ROMs and I always had lags, also with the TF3D-Player (which always cuts off the last seconds of each song). Which ROM without sound lag (when using the TF3D-Player) are there?

Nuri58
2nd March 2009, 03:47 PM
Well, I tried a lot of ROMs and I always had lags, also with the TF3D-Player (which always cuts off the last seconds of each song). Which ROM without sound lag (when using the TF3D-Player) are there?Read my post above. On some TDs no lag and on other lag with same ROM and identical set-up. So my guess is there is a HW dependency as well.

thx1200
2nd March 2009, 07:10 PM
I am corresponding with somebody on another thread who does NOT experience this problem on his STOCK AT&T Fuze. Searching this thread turns up zero matches for Fuze (but plenty for every other iteration of the Diamond/Pro line). Could it be the Fuze does not have this problem?

I had this user email me the wavedev.dll from his Fuze and it is radically different from mine. However, copying it over mine and importing his registry settings caused my device to not play sound at all. I'm attempting to see what dependencing wavedev has that I also need from this device.

However, if somebody with a Fuze can pop in and say "hey I got the lag too" then I might not go through the extra effort. It would seem odd that the Fuze would not have this problem when every other version of the TP out there does.

Attached is the files I got from the Fuze user. Feel free to play on your own. Not responsible for bricking your device. yadda yadda.

EDIT: I'm using a stock ROM Sprint Touch Pro, btw.

EDIT 2: I discovered on another thread that it's not possible to "copy over" device driver files like wavedev.dll because in order for the kernel to load them, it MUST be in the ROM. I take it that is a security measure against malware hijacking your critical system drivers. Crapola. Oh well. Back to writing HTC and begging -- BEGGING -- for a resolution...

thx1200
2nd March 2009, 09:57 PM
Read my post above. On some TDs no lag and on other lag with same ROM and identical set-up. So my guess is there is a HW dependency as well.

Maybe, but I've personally had three Touch Pros that all acted identically, so I don't know how I could have gotten three with the same hardware problem... (I had other unrelated hardware issues that warranted a brand new-in-box replacement twice)

Nuri58
3rd March 2009, 05:25 PM
Maybe, but I've personally had three Touch Pros that all acted identically, so I don't know how I could have gotten three with the same hardware problem... (I had other unrelated hardware issues that warranted a brand new-in-box replacement twice)The individual chips / chip sets, memory and other components may be different although having the same overall specs. It also seems there are two production lines of which one in China. I wouldn't know why two identical setup TDs (same ROM and SW setup) reacts differently if not the HW is different:confused:

jay_zhead
3rd March 2009, 07:36 PM
EDIT 2: I discovered on another thread that it's not possible to "copy over" device driver files like wavedev.dll because in order for the kernel to load them, it MUST be in the ROM. I take it that is a security measure against malware hijacking your critical system drivers. Crapola. Oh well. Back to writing HTC and begging -- BEGGING -- for a resolution...

Why not try contacting one of the cookers, so they can try and incorporate this driver into a cooked ROM?

kcliu02
4th March 2009, 03:12 PM
I bought a Stereo BT headset today and tried.
The lag seems not occurs as much as wired headset.
Listened 1hr music, only 2 to 3 lag.

Zodler
5th March 2009, 02:32 AM
That is still too much. It’s unacceptable.

suiller
5th March 2009, 09:54 AM
Why not try contacting one of the cookers, so they can try and incorporate this driver into a cooked ROM?

I'm yet working on this, stay tuned ;)

anyway I don't listen music for hours so I can't really test, I need someone brave for testing it

Prewien
5th March 2009, 11:39 AM
i listen to music +/- 7 hrs a day at work via my headset :( really annoying the lag.. because it also lags when you get called, so i often think ah a call coming in

as said before, UNACCEPTABLE HTC!!

nixgegendenise
5th March 2009, 11:45 AM
I bought a Stereo BT headset today and tried.
The lag seems not occurs as much as wired headset.
Which BT headset was it?

THUDUK
5th March 2009, 01:24 PM
Can't work out why this happens, have tried lots of different music players as well as the TF3D player, copious amounts of ROMS, official and unofficial, yet still music lags and skips in various ways.

This is pretty bad for an expensive mobile/pda.

My crappy £5 mp3 player works better.

shame as I love the Diamond for everything else apart from this.

dunkan008
5th March 2009, 01:44 PM
I'm yet working on this, stay tuned ;)

anyway I don't listen music for hours so I can't really test, I need someone brave for testing it

I'm ready!! tell me when and where :D

suiller
5th March 2009, 02:16 PM
I'm ready!! tell me when and where :D

you're welcome, keep an eye on our thread & wait for release 1.3, will have the adapted driver from Fuze

thx1200
5th March 2009, 07:54 PM
Why not try contacting one of the cookers, so they can try and incorporate this driver into a cooked ROM?

I'm not a ROM flasher freak. Anybody else here is welcome to try. All you would need is a ROM based on AT&T's ROM. That would include the wavedev that comes with AT&T.

I'm skeptical it will fix anything, but figured it was worth a shot to try.

Anybody getting the skip using A2DP? I've read that (some?) HD users do not have the skip when using A2DP, at least.

thx1200
5th March 2009, 07:59 PM
I bought a Stereo BT headset today and tried.
The lag seems not occurs as much as wired headset.
Listened 1hr music, only 2 to 3 lag.

lol i need to read the rest of the replies before replying. ;-)

You are at least the second person I've seen that has better success wtih A2DP.

Also, lags could be a result of the bluetooth connection itself, just due to the fact that bluetooth connections are not always perfect and bluetooth hardware comes in varying degrees of quality. :-)

I need to get a Bt headset and do some experiments. But the recession has been hitting my wallet pretty hard lately. It was hard enough to scrape together the cash needed to get the TP itself. ;-)

kcliu02
6th March 2009, 04:21 AM
lol i need to read the rest of the replies before replying. ;-)

You are at least the second person I've seen that has better success wtih A2DP.

Also, lags could be a result of the bluetooth connection itself, just due to the fact that bluetooth connections are not always perfect and bluetooth hardware comes in varying degrees of quality. :-)

I need to get a Bt headset and do some experiments. But the recession has been hitting my wallet pretty hard lately. It was hard enough to scrape together the cash needed to get the TP itself. ;-)


There are still some sound drop when I run Opera or Calendar, but I think it is different case.

I only tried BT headset outdoor with some background noise (on street),
the lags (exactly every 5mins) become nearly un-noticeable for me.

Maybe my ears are not 'sensitive', but I think the 'gap time' become shorter.

Hajima Ichiro
9th March 2009, 01:21 AM
Sorry to be the bearer of bad news, but I've got a Fuze on the stock ATT ROM, and I'm getting this lag exactly every 5mins.

Prewien
9th March 2009, 12:19 PM
Sorry to be the bearer of bad news, but I've got a Fuze on the stock ATT ROM, and I'm getting this lag exactly every 5mins.

I knew it!

i'm getting sick of it! very very very sick!
htc should fix this NOWW!!

I'm going to contact HTC with this now

thx1200
9th March 2009, 07:56 PM
Sorry to be the bearer of bad news, but I've got a Fuze on the stock ATT ROM, and I'm getting this lag exactly every 5mins.

I figured as much. I bet the person I was talking to was using bluetooth... I need to track him down and ask. ;-)

thx1200
9th March 2009, 07:57 PM
I knew it!

i'm getting sick of it! very very very sick!
htc should fix this NOWW!!

I'm going to contact HTC with this now

Write them!!!! See previous post of mine for info on how to contact them. They may never fix it, but at least we can try.

Hajima Ichiro
10th March 2009, 03:23 AM
Yeah, this really is a frustrating issue, especially when it seems like they're taking the easy way out by juryrigging their own player to work, and claiming it's an issue w/ 3rd party software...

That and the fact that audiomanager_eng keeps auto launching and messing up Pocket Player is starting to make me regret getting this phone... It does so much right, but fails on what should be so simple...

budsant
10th March 2009, 06:14 AM
Has anyone tried this ROM update (Release Date: 2009-02-27) ?

http://www.htc.com/www/SupportDownload.aspx?p_id=133&cat=2&dl_id=483

...
Improved Functions and Fixes

1. When you launch the Camera while the system is working on other programs, the preview screen may become black.

2. When playing a video, sometimes a portion of the video will be cut off a little bit.

3. Fixes Audio playback problem with the speaker. Specific issues: sometimes the music will turn off and on after 10 minutes, or there is a buzzing sound or no sound at all.

4. Fixes the problem of not being able to receive MMS when in standby mode.

5. When launching music via the Music tab on TouchFLO 3D, the sound may intermittently turn off for a second and come back on.

...

tejasrm
10th March 2009, 06:51 AM
ya this prob exists in almost all roms..HTC is aware of this prob..try out their latest rom...they have listed this prob in their specifications..

Prewien
10th March 2009, 11:44 AM
Has anyone tried this ROM update (Release Date: 2009-02-27) ?

http://www.htc.com/www/SupportDownload.aspx?p_id=133&cat=2&dl_id=483

...
Improved Functions and Fixes

1. When you launch the Camera while the system is working on other programs, the preview screen may become black.

2. When playing a video, sometimes a portion of the video will be cut off a little bit.

3. Fixes Audio playback problem with the speaker. Specific issues: sometimes the music will turn off and on after 10 minutes, or there is a buzzing sound or no sound at all.

4. Fixes the problem of not being able to receive MMS when in standby mode.

5. When launching music via the Music tab on TouchFLO 3D, the sound may intermittently turn off for a second and come back on.

...
a few posts back someone said it isnt fixed :(

nixgegendenise
10th March 2009, 11:57 AM
a few posts back someone said it isnt fixed :(
It definitely still exists!
And the lag also exists when using the TF3D-Player!!!

thx1200
10th March 2009, 08:40 PM
It definitely still exists!
And the lag also exists when using the TF3D-Player!!!

Depends which version of AudioManager (TF3D player) you are using. Newest ones use an unusual streaming mode through DirectShow and somehow are able to playback audio skip-free. Conduits tried to reverse engineer it, but didn't have any luck.

Also, I now have written HTC three times. the first time, I had a great in-depth conversation with a tech. The last two times, I get the same form email...

Hello Timothy,

Thank you for your response.

I understand how important it is for you to enjoy the musical playback of your device. I would like to reiterate that HTC does not support third party software.

Timothy, I hope we have answered your question in detail. Feel free to contact us again if you have any further questions.


I am never again buying an HTC phone. I'm done with them. I had a different (similar) audio problem with my 8125. it would play music too fast (about 1.2x normal rate) so everybody sounded like chipmunks. I got the same sort of non-support support from them. Screw 'em. I'm voting with my pocketbook!

It's sad because I really love my Touch Pro otherwise...

If anybody else is willing to dig into the reverse engineering of the directshow streaming mode, I can give you all the info Conduits gave me. If somebody can figure out what HTC will not tell us and pass the info back to the third party developers (like Conduits), it would help the community out greatly. I'm just not savvy enough of a C++ programmer to do it.

nixgegendenise
10th March 2009, 08:43 PM
Depends which version of AudioManager (TF3D player) you are using. Newest ones use an unusual streaming mode through DirectShow and somehow are able to playback audio skip-free.
Sorry, but I cannot believe this.
Which version of the TF3D-Player do you mean?! I just installed the very newest original HTC ROM with AudioManager and it still lags every 5 minutes!

jay_zhead
12th March 2009, 09:07 AM
Sorry, but I cannot believe this.
Which version of the TF3D-Player do you mean?! I just installed the very newest original HTC ROM with AudioManager and it still lags every 5 minutes!

There are several roms available with which audiomanager does not pause regularly like the 3rd party players do, the problem is that it got it's own issues: it does not handle high-quality variable bitrate files well, and it occasionally skips (rather then lagging, like 3rd-party apps do).

It is rather funny tho that HTC are clinging to the "3rd party software" excuse like crap to a diaper when, in actuality, their own software also does not provide a viable alternative. If at least the audiomanager worked properly I wouldn't have been so pissed off, cause I mostly use that for playback anyway, but it is still not bug free - I have to recode everything to appalling quality if I want to avoid skipping, which is unexceptable. I think the time has come to start a class-action lawsuit against them, as it does not look like they are planning on fixing it at all, they are content with dodging us forever on this issue.

Prewien
12th March 2009, 09:34 AM
There are several roms available with which audiomanager does not pause regularly like the 3rd party players do, the problem is that it got it's own issues: it does not handle high-quality variable bitrate files well, and it occasionally skips (rather then lagging, like 3rd-party apps do).

It is rather funny tho that HTC are clinging to the "3rd party software" excuse like crap to a diaper when, in actuality, their own software also does not provide a viable alternative. If at least the audiomanager worked properly I wouldn't have been so pissed off, cause I mostly use that for playback anyway, but it is still not bug free - I have to recode everything to appalling quality if I want to avoid skipping, which is unexceptable. I think the time has come to start a class-action lawsuit against them, as it does not look like they are planning on fixing it at all, they are content with dodging us forever on this issue.

IMHO we should boycot htc if they don't fix it within 2 months!

I've mailed them using the contact form on their site, havent recieved a thing yet!
but its a big business.. so i guess i'll have to wait for a week or so

thx1200
12th March 2009, 02:01 PM
Sorry, but I cannot believe this.
Which version of the TF3D-Player do you mean?! I just installed the very newest original HTC ROM with AudioManager and it still lags every 5 minutes!

Using stock Sprint ROM. I played for hours with no lag ever. The player sucks though compared to PocketPlayer.

However, there are, apparently, multiple versions around so I don't know that the one in my ROM (and a lot of other unofficial ROMs) is being used in the latest official ROM from HTC.

thx1200
12th March 2009, 02:04 PM
IMHO we should boycot htc if they don't fix it within 2 months!

I've mailed them using the contact form on their site, havent recieved a thing yet!
but its a big business.. so i guess i'll have to wait for a week or so

Even if everybody at XDA boycotted HTC, it wouldn't hurt them. We're a large group, but not big enough to cut into their bottom line -- especially since they keep going further and further into the general consumer market and away from the early adopter crowd like us. :-)

Class action lawsuit sounds like a grand idea! THAT would get their damn attention. How do we start that?

thx1200
12th March 2009, 02:16 PM
I just posted a "challenge to the community." Pony up some cash and let's get some brains on this problem...

http://forum.xda-developers.com/showthread.php?p=3455108

Prewien
12th March 2009, 03:21 PM
i just called htc (dutch number) and guess what...
i waited 5 mins on a quiet line no waiting beeps no music no nothing
so i tried again for 2 mins. got the same thing
and finally another 3 mins... AGAIN no answer with no tone whatsoever
(i'm at my job and i dont know if they would appreciate it if i'd call internationally :p )

not really customer friendly.....

THUDUK
12th March 2009, 06:33 PM
ROM: [WWE] udK Syrius Topaz R2 - Build 21032.1.6.0 from TouchPRO 2
Radio: 1.09.25.23
Music Player TF3D
using the Standard Headset with high quality mp3's
Audio booster set for bass

Listening time just under and hour.

NO SKIPS, NO LAGS, just very good quality sound music.

been testing different roms for ages had skips and lags every 5mins, to every 15 mins to every other minute...not saying this setup has solved it, just seems positive...

chucky5455
13th March 2009, 09:22 AM
ROM: [WWE] udK Syrius Topaz R2 - Build 21032.1.6.0 from TouchPRO 2
Radio: 1.09.25.23
Music Player TF3D
using the Standard Headset with high quality mp3's
Audio booster set for bass

Listening time just under and hour.

NO SKIPS, NO LAGS, just very good quality sound music.

been testing different roms for ages had skips and lags every 5mins, to every 15 mins to every other minute...not saying this setup has solved it, just seems positive...
Strange :confused: even i am using the same ROM,radio and setting as mention above but i am experiencing a slight lag after every 5 to 6 minutes,the first song which i play won't lag but as next song comes up in the beginning the lag happen but it doesn't skip and if i listen carefully during the music play i can feel a very minor lag which is almost unnoticeable but i must say in my case with the same configuration the lag still exist:mad:

Nuri58
13th March 2009, 03:01 PM
ROM: [WWE] udK Syrius Topaz R2 - Build 21032.1.6.0 from TouchPRO 2
Radio: 1.09.25.23
Music Player TF3D
using the Standard Headset with high quality mp3's
Audio booster set for bass

Listening time just under and hour.

NO SKIPS, NO LAGS, just very good quality sound music.

been testing different roms for ages had skips and lags every 5mins, to every 15 mins to every other minute...not saying this setup has solved it, just seems positive...Good quality sound must be a relative term. There's long to MP3 being really good although a lot of people go so used to it that HI Fi sounds wrong in their ears. Anyway HTC is not exactly excellent in sound quality, but apart from this subjective appreciation, I have little problems using the original HTC ROM in terms of lag and using it while traveling, still far from the qulity once listening to my sound system at home:)

MlKE3
13th March 2009, 10:36 PM
Have someone tried to install SRS WOW HD audio driver? It is quite possible that it will fix the problem.

fadelovesky
13th March 2009, 10:53 PM
i m a programmer for windows but a beginer in HTC dev. i have a diamond and i noticed that the sound-lag is due to an over full buffering.
normaly, in all pocketpc music player software, we can found a Buffer-size Option (as the "CorePlayer" do). the buffer as an anti-shock system, pre-load the song in memory to optimize performance. then, the player start the music.
When the buffer is full, or when we seek into a part of song that isnt the same in the buffer, the media player had to empty the buffer and fill it with the right part. this operation can produce LAG if,and only if, the used software don't manage the memory as well. Also, it can be produced if the program isn't runing with high process priority.
i'm trying to develop an ipod-style media player which run in real-time priority, that allow the processor to handle the program friendly without any Lag.

Prewien
16th March 2009, 11:53 AM
HTC is still acting like they don't know about the issue :confused:
they told me that i should contact t-mobile about this because i have the mda version and i may have been given a faulty device, well if they wanna play it that way let them... i'm gonna call t-mobile and let them deal with it till i get a correct device, maybe they'll exchange this one for a completely new one without my scratches :p

THUDUK
16th March 2009, 02:14 PM
More testing over weekend, went out for a run, had RunGPS software running, with TF3D music player and phone on, music lag/skip occurred every 5 minutes.

This is so frustrating

jay_zhead
16th March 2009, 07:51 PM
Have someone tried to install SRS WOW HD audio driver? It is quite possible that it will fix the problem.

Why would it? This program still outputs to the audio driver in the end, which is where the skip occurs...

thx1200
16th March 2009, 09:45 PM
Have someone tried to install SRS WOW HD audio driver? It is quite possible that it will fix the problem.

The SRS WOW HD driver still outputs through the default wavedev.dll in the end. it makes adjustments to the audio in-stream. It does not replace the output device driver.

thx1200
16th March 2009, 09:49 PM
i m a programmer for windows but a beginer in HTC dev. i have a diamond and i noticed that the sound-lag is due to an over full buffering.
normaly, in all pocketpc music player software, we can found a Buffer-size Option (as the "CorePlayer" do). the buffer as an anti-shock system, pre-load the song in memory to optimize performance. then, the player start the music.
When the buffer is full, or when we seek into a part of song that isnt the same in the buffer, the media player had to empty the buffer and fill it with the right part. this operation can produce LAG if,and only if, the used software don't manage the memory as well. Also, it can be produced if the program isn't runing with high process priority.
i'm trying to develop an ipod-style media player which run in real-time priority, that allow the processor to handle the program friendly without any Lag.


I've adjusted PocketPlayer while running to use the highest realtime priority available in WM. It still lags. the problem is NOT, i repeat, NOT, i repeat again, NOT as a result of buffer-overrun. It is also NOT, i repeat, NOT, i repeat again NOT, as a result of poor memory management. It is a BUG.

I'm personally never buying HTC again.

HTC has, indeed, found a way to workaround it using special system calls in TF3D player ON SOME (but not all) ROMs (see my "challenege to the community" link above), but there is no way whatsoever to use wavedev and have correct output on these devices.

Why on earth they didn't code wavedev to use the same special system calls for ALL audio apps is beyond me, but I'm hoping some brilliant community member can crack this. HTC doesn't care because they think their media player is the only media player anybody should ever use.

thx1200
16th March 2009, 09:52 PM
HTC is still acting like they don't know about the issue :confused:
they told me that i should contact t-mobile about this because i have the mda version and i may have been given a faulty device, well if they wanna play it that way let them... i'm gonna call t-mobile and let them deal with it till i get a correct device, maybe they'll exchange this one for a completely new one without my scratches :p

Go for it! I'm on my third Touch Pro due to the freezing overnight issue (seems to finally be fixed). Hit them where it hurts: right in the wallet! Even if it doesn't fix it, it costs them money to field these support requests. I highly encourage your behavior.

Prewien
17th March 2009, 08:39 AM
Go for it! I'm on my third Touch Pro due to the freezing overnight issue (seems to finally be fixed). Hit them where it hurts: right in the wallet! Even if it doesn't fix it, it costs them money to field these support requests. I highly encourage your behavior.

don't think it will fix it though.. they never changed hardware with this. all their phones have this bug.. i havent read about a omnia having this bug.. but dont care actually about that phone dont like it :p .. but would like to know.. and what about the smartphones of htc?

Nuri58
17th March 2009, 07:04 PM
don't think it will fix it though.. they never changed hardware with this. all their phones have this bug.. i havent read about a omnia having this bug.. but dont care actually about that phone dont like it :p .. but would like to know.. and what about the smartphones of htc?The old SPV seems not to have the problem, but also no particular good sound so if I should choose between the two it would be the lag I think (at least you're only bothered every 5 min. not every sec.)

Prewien
17th March 2009, 08:43 PM
the lag is still annoying to hear every 5 min if you're a music freak or especially a producer (like me)

i just installed the original dutch t-mobile rom based on 1.93 and tested the lag, listened closely to hear if theres a lag.. well not every 5 min.. my first one was after 10 mins.. my second REAL SMALL ONE (was really hard to spot) was after 27 mins of playing music (so 17 mins after 1st last one)

andd.. the RAM consumption on it is 5mb less than my previous rom (see sig)
so MAYBE it has to do something A LITTLE BIT with it?
i have to say that this rom doesnt cut off the last couple of seconds of a song

been listening to music for 30 mins now.. 2 lags... again its a stock rom and played music directly after i flashed the stock rom, so no customization whatsoever

the rom is slower than my previous one though... strange.. would guess a slower rom would generate more problems with music playback...


edit: well a direct edit, when i clicked post it had a lag again after 5 min after the last one..
allthough the intervals on the lag got less and not cutting off the last seconds, i'm still not satisfied.
tmobile here i come :D

iniac
18th March 2009, 08:36 PM
I have noticed that in my case the problem occurs everytime Im in a low signal area specifically when HSDPA ( 3G or H ) switches to EDGE (E) and viceversa. It occurs with all the audio players I have tried. I haven't found a solution for it yet. I hope this will help enlighten others to find a fix.

thx1200
19th March 2009, 01:07 AM
I have noticed that in my case the problem occurs everytime Im in a low signal area specifically when HSDPA ( 3G or H ) switches to EDGE (E) and viceversa. It occurs with all the audio players I have tried. I haven't found a solution for it yet. I hope this will help enlighten others to find a fix.

there are other ways to induce the lag. try setting your time, for example. its still a bug in the audio driver/hardware/etc

Prewien
19th March 2009, 09:18 AM
my mda is with t mobile now, lets hope that it will be fixed when i get it back... if it will be.. then every single device should be returned because it's a hardware issue

asafteirobert
19th March 2009, 08:50 PM
We should bug HTC about this. If we all send them a message about this maybe they will wake up and fix or at least find the problem.

So I invite everyone to give them a message:
http://www.htc.com/www/CS_Mail.aspx

christiano88
20th March 2009, 01:44 PM
My message to HTC:

"Hello HTC team, I'm having a very known problem with my phone. The so called "sound lag" which every htc diamond user has, I'm experiencing it too. And it's way too annoying to use the phone as a multimedia device with all the sound skips that happen every 5 minutes. Please try to find the problem at least and inform us all about it to know if it's solvable or not. Thank you kindly, Chris"

Will update with answer if it ever comes back..

Prewien
20th March 2009, 01:56 PM
My message to HTC:

"Hello HTC team, I'm having a very known problem with my phone. The so called "sound lag" which every htc diamond user has, I'm experiencing it too. And it's way too annoying to use the phone as a multimedia device with all the sound skips that happen every 5 minutes. Please try to find the problem at least and inform us all about it to know if it's solvable or not. Thank you kindly, Chris"

Will update with answer if it ever comes back..

you should describe your problem better to them.. like you're just using tf3d player and it happenes when youre just sitting and not doing anything else, i am not running any programs in the background, it skips even after hard resets and all the things you can come up first before they say things like we dont support 3rd party players, diamond isnt completely shock proof, you have too much programs open, do hard reset and so on...

Prewien
20th March 2009, 02:22 PM
WAIT A GOD DAMN FREAKIN MINUTE!?!?!?!?!!!!:confused:

Don't know if this has been said already BUT

HTC NEVER tried to fix the lag! Read carefully...

5. When launching music via the Music tab on TouchFLO 3D, the sound may intermittently turn off for a second and come back on.
That's what is placed on their site...

BUT look... when LAUNCHING, so not WHILE PLAYING music the sound may intermittently turn off FOR A SECOND and COME BACK ON. They say 'intermittently' but they mean that just once when turning on, and thats true, it took my rom before 2.03 longer to start playing music.. so THATS FIXED but when are they going to say they fixed the 'WHILE PLAYING MUSIC'??

or am i acting paranoid now?

christiano88
20th March 2009, 05:04 PM
I already got an answer from HTC support:

Thank you for contacting HTC Europe. The sound lag has been adressed in the latest ROM. Please Download the 2.03 ROM version from the www.htc.com website. Remember in order to get around the lag, you will have to delete all your songs on the phone and then sync them through the Windows Media Player. You will then not experience any lag at all. Feel free to get back to us at any time if you have any further questions. Kind Regards Dave Montanya HTC Europe

What do you guys think?

kosherpig
20th March 2009, 08:16 PM
Why the hell they want to do it via WMP? I do not use WMP on my PC, and how they imagine transferring large amounts of data via activesync?

thx1200
22nd March 2009, 05:09 PM
I already got an answer from HTC support:

Thank you for contacting HTC Europe. The sound lag has been adressed in the latest ROM. Please Download the 2.03 ROM version from the www.htc.com website. Remember in order to get around the lag, you will have to delete all your songs on the phone and then sync them through the Windows Media Player. You will then not experience any lag at all. Feel free to get back to us at any time if you have any further questions. Kind Regards Dave Montanya HTC Europe

What do you guys think?

I call BS. Anybody tried it? It might work -- stress MIGHT -- in TF3D player (due to the afforementioned several versions of TF3D player, some working, some not), but I highly doubt it will fix the problem for any other media player or app that uses sound.

Transfering via WMP might work around a different problem others have reported where some encoded files play poorly in TF3D. Doing so may transcode the format to a more TF3D player friendly format.

But, again, I highly highly doubt it will fix any other player's problems.

Additionally, this is a silly workaround. A media device made in 2008/2009 should not require transcoding to play MP3s. Give me a break. This thing has a monster CPU compared to the wal-mart player that plays these files just fine. HTC is copping out, again.

But it would be good to test this to see if we can call BS on them again. It wouldn't be the first time a silly workaround didn't even work with HTC.

P.S. I personally tried A2DP the other day with PocketPlayer. NO LAG. I wish the headphone output worked like that.

kcliu02
23rd March 2009, 09:17 AM
I think I am the most unlucky guy here that got sound lag on both wired and BT headphone.

My story:

I just hard reset my diamond (ROM 2.03) and listened music in silent environment.

A) With Wired headphone:
Even no software installed, I got sound lag every 5mins without fail.

B) With A2DP headphone (i-tech clip)
At the beginning, I noticed the sound quality was very poor.
Without testing the sound lag, I installed registery explorer and modified following registery:
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/BitPool = 30->40
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/MaxSupportedBitPool = 30->40
Sound quality became much better, but I got sound lag every 10mins (not every 5mins) without fail.
The sound lag (every 10mins lag) here is little bit shorter than using wired headphone (every 5mins lag)

Prewien
24th March 2009, 04:14 PM
never used the BT thing.. i got it free with my mda from t-mobile, didnt unbox it and sold it the very next day :D
thought it would be a major battery drainer

Vince2301
25th March 2009, 09:36 AM
Tested with a cheap (30 Euro) A2DP headphone yesterday. The lag seems to be still there but is less frequent. (I did not time it , but I guess the interval is approx. 10 minutes)

I will test more today. (alas the BT headphone comes with its own problems like some light pops/cracks I hear during more quiet parts of songs)

Edit: It doesn't do the trick for me. The lagging is less but with BT the quality of the music is worse. I tried everything (registry changes etc.) but the crackling remains. It also drains the battery massively, like Prewien says.

CoreyMck
26th March 2009, 10:49 AM
Tested with a cheap (30 Euro) A2DP headphone yesterday. The lag seems to be still there but is less frequent. (I did not time it , but I guess the interval is approx. 10 minutes)

I will test more today. (alas the BT headphone comes with its own problems like some light pops/cracks I hear during more quiet parts of songs)

Edit: It doesn't do the trick for me. The lagging is less but with BT the quality of the music is worse. I tried everything (registry changes etc.) but the crackling remains. It also drains the battery massively, like Prewien says.

I think part of the problem is that BT is a low power signal. My Samsung headset warns that quality might degrade with distance or even if you body is between the phone and the headset! Annoying for me since I like my bluetooth headset in my right ear and my phone in my left pants pocket. You might try putting the phone in your shirt pocket (if you have one) but that won't work if you are jogging & be careful if you lean over ... you don't want it to fall out!

Back to the real subject. HTC has made a defective product and knows it is defective but has done little (or nothing) to fix the problem. Their track record for supporting legacy products is terrible. Almost the only way we get new drivers and software is from forum members reverse engineering current products. If it wasn't for this community I'd have given up on HTC a long time ago. This is, however, the straw that broke the camel's back. This is the last HTC phone I will buy.

Prewien
27th March 2009, 03:15 PM
what a joke, i got my phone back today and that girl who gave it to me said they put new software on it... when i checked it had the 1.37 rom on it :eek:
and on the t mobile site 1.97

CoreyMck
28th March 2009, 03:07 PM
I already got an answer from HTC support:

Thank you for contacting HTC Europe. The sound lag has been adressed in the latest ROM. Please Download the 2.03 ROM version from the www.htc.com website. Remember in order to get around the lag, you will have to delete all your songs on the phone and then sync them through the Windows Media Player. You will then not experience any lag at all. Feel free to get back to us at any time if you have any further questions. Kind Regards Dave Montanya HTC Europe

What do you guys think?

I followed those instructions exactly and the problem is NOT gone. It only lagged once during an entire CD which is an improvement but still unacceptable for a phone that costs as much as a Diamond and is geared toward multimedia.

Sina™
31st March 2009, 12:43 AM
I did everything, but I can't fix the sound skip bug on my Touch Pro.
It happen to all audio formats, with any video/audio player, recorder, editor, whatever.

Singelton
31st March 2009, 01:35 AM
I did everything, but I can't fix the sound skip bug on my Touch Pro.
It happen to all audio formats, with any video/audio player, recorder, editor, whatever.

have you tried encoding your mp3's to 96kbs 44.100hz stereo cbr not vbr? iv never had a single skip on any music tracks and i listen to music quite alot.

edit: that is until i tried tonight to play music using nitrogen ouch i get this lag now iv got this problem to. i didnt have any problem's using htc audio player so ill just stick to using that.

Vince2301
3rd April 2009, 09:47 AM
have you tried encoding your mp3's to 96kbs 44.100hz stereo cbr not vbr? iv never had a single skip on any music tracks and i listen to music quite alot.

edit: that is until i tried tonight to play music using nitrogen ouch i get this lag now iv got this problem to. i didnt have any problem's using htc audio player so ill just stick to using that.

That seems to help a little (less lag) but encoding to just 96kbs kills my music in another way. :(

Prewien
3rd April 2009, 09:59 AM
have you tried encoding your mp3's to 96kbs 44.100hz stereo cbr not vbr? iv never had a single skip on any music tracks and i listen to music quite alot.

edit: that is until i tried tonight to play music using nitrogen ouch i get this lag now iv got this problem to. i didnt have any problem's using htc audio player so ill just stick to using that.

96kbps? c'mon... it's 2009... mp3HD is out.. with 500kbps...
i havent used 96kbps EVER and the minimum is 128kbps for me, prefer 192kbps though.. but because i hate the quality of songs lower than 128kbps..

Prewien
6th April 2009, 11:29 AM
anybody interested to start a petition with me on this issue to pressure htc to fix it?

THUDUK
7th April 2009, 06:46 AM
So there is no answer...

I tested the latest WM6.5 by uDK with his fantastic ROM yesterday, that doesn't have TF3D music player.

tried out Mortplayer, pocketplayer and the built in windows media player all skip terribly every 10-20 seconds, much worse than TF3D music player which skipped around 5 minutes.

I still can't believe that with so much talent on this forum this has not been sorted out, my conclusion is, it can't be sorted out.

I shall have to research another PDA/phone...any recommendations on a similar device that doesn't have this lag ?

iRiKi
7th April 2009, 08:02 AM
iPod? :rolleyes:

nixgegendenise
7th April 2009, 09:41 AM
iPod? :rolleyes:
What a great PDA ;)

THUDUK
7th April 2009, 01:41 PM
http://forum.xda-developers.com/showpost.php?p=3584448&postcount=2560

After initially installing the standard 6MB Page pool WM6.5, I negleted to do a hard re-boot after the Rom install...this time around I installed the above 12MB Page Pool WM6.5 ROM and hard reset twice.

Now I have just spent all morning listening to 200kbps MP3 music whilst running two separate GPS navigation software's, and lots of other applications at the same time, phone on, wifi on, and my Diamond has not skipped or lagged at all...

Anyone else as well as me and the_scotsman's ?

thx1200
7th April 2009, 02:09 PM
anybody interested to start a petition with me on this issue to pressure htc to fix it?

They won't care. They are making money hand over fist even in this economy. They are following the Apple business model. Make something cool looking, even if it's buggy as hell under the hood. Only admit a mistake and release an update if greater than 50% of the userbase is affected. lol.

The solution (if there is one) will come from the community. Join me in encouraging the community with a monetary reward (a few pages back I first mentioned this). Evangelize the reward on other forums. Let's get this darn thing solved! http://forum.xda-developers.com/showthread.php?t=492312

thx1200
7th April 2009, 02:12 PM
http://forum.xda-developers.com/showpost.php?p=3584448&postcount=2560

After initially installing the standard 6MB Page pool WM6.5, I negleted to do a hard re-boot after the Rom install...this time around I installed the above 12MB Page Pool WM6.5 ROM and hard reset twice.

Now I have just spent all morning listening to 200kbps MP3 music whilst running two separate GPS navigation software's, and lots of other applications at the same time, phone on, wifi on, and my Diamond has not skipped or lagged at all...

Anyone else as well as me and the_scotsman's ?

If this can be confirmed, that would be cool as hell. Now, are you absolutely positively sure the FIVE MINUTE lag is not happening, even if it's just very short and not as noticible? I ask because many 6.1 ROMs have reduced but not eliminated lag problem.

If the 6.5 ROMs workaround this HTC issue, I would be very interested in seeing if the audio driver (or whatever) can be backported to WM6.1.

THUDUK
7th April 2009, 02:25 PM
All I can say is I have been testing out 128kbps and above files of all kinds of types, best test is soft classical through headphones as even the slightest glitch can be heard.

My Pink Floyd momentary lapse of reason always skipped on every rom I have used, but plays perfectly through this one.

There are still some small and I mean small problems with this 6.5 rom and you have to get used to not using the TF3D, but so far my music is perfect, will test further.

wired69
7th April 2009, 04:02 PM
Just installed installed udk's 6.5 ROM and will report back my findings tomorrow.

Prior to this, I was very impressed with Shaks.P v4.00 ROM. Of course, the lag was not eliminated but there were times when I didn't really notice it as it is fairly brief without any loud pops. It was especially good with streaming music, definitely the best ROM I have tried so far.

One thing I have noticed with Windows 6.5 ROM's is that you are unable to change settings in Pocket Player so I recommend anyone else testing 6.5 with PP should backup their PP registry before flashing and restore it afterwards to keep your old settings.

wired69
7th April 2009, 05:23 PM
All I can say is I have been testing out 128kbps and above files of all kinds of types, best test is soft classical through headphones as even the slightest glitch can be heard.

My Pink Floyd momentary lapse of reason always skipped on every rom I have used, but plays perfectly through this one.

There are still some small and I mean small problems with this 6.5 rom and you have to get used to not using the TF3D, but so far my music is perfect, will test further.

Which music player did you use and what radio version are you on? Unfortunately, as expected, I still have the lag regular as clockwork using udk's new 6.5 ROM with 12MB Pagepool. Only tested it with Pocket Player and I really don't have the time nor inclination to test this ROM further. Back to Shaks.P v4.00 for me.

JiBB
7th April 2009, 09:44 PM
All I can say is I have been testing out 128kbps and above files of all kinds of types, best test is soft classical through headphones as even the slightest glitch can be heard.

My Pink Floyd momentary lapse of reason always skipped on every rom I have used, but plays perfectly through this one.

There are still some small and I mean small problems with this 6.5 rom and you have to get used to not using the TF3D, but so far my music is perfect, will test further.

Are there any other "small problems" one should look out for? Cuz I don't use TF3D at all as it is, but I do use a myriad of Spb programs... what's the likelyhood of them working with 6.5?

Also are you using the North American or Euro release of the the Diamond?

THUDUK
8th April 2009, 06:16 AM
Tested with the built in Windows media player on the WM6.5 main today page, tested all day yesterday with mainly 200 Kbps files and only had one skip when i was un-installing something.

Have tried Pocket player before now as well as mortplayer but found them to have way to many skips and problems on these diamond devices, would test them out, but don't want to upset my device now, as it is running very well and I can listen in peace to music...

My advice just use the built in music player on WM6.5

As for rom issues, please read the rom thread...

UPDATE: Been listening to music through the built in windows media player for the last 2 hours using my HTC RC W100 remote linked upto my quad surround speakers system, with audio booster on set to full Bass....Each test I turned on and off my runGPS software quite a few times.

320kbps Skips very very slightly exactly every 5 minutes to the second, tested for an hour

128kbps not a single skip or lag, tested for an hour

So my findings with today and yesterday are anything upto 200kbps plays perfectly, haven't tested any kbps between 200 and 320, but it seems after this mornings test with the 320kbps files there is still a very slight skip amazingly to the second every 5 minutes...

Update 2:

I have just setup my windows media player on the PC to sync to a maximum of 160kbps, i think at this bitrate you still get a nice quality sound without too much degradation.
I feel 128 kbps is ok for general use, 320kbps is preferable, but 160 to 200kbps is more than acceptable.

looby
17th April 2009, 05:19 PM
Just read on www.pocketnow.com that there is a HOTFIX update that addresses the issue of 'skipping' during music playback on the HTC touch diamond.

N.B. Just tried it on my Orange Diamond and says it is not compatible with your device. What a downer.

Update: There is a CAB file from Captain_Throwback on another thread 'Fix for audio issue' for those on Carriers, a huge thanks to him..

Nuri58
17th April 2009, 05:28 PM
UPDATE: Been listening to music through the built in windows media player for the last 2 hours using my HTC RC W100 remote linked upto my quad surround speakers system, with audio booster on set to full Bass....Each test I turned on and off my runGPS software quite a few times.

320kbps Skips very very slightly exactly every 5 minutes to the second, tested for an hour

128kbps not a single skip or lag, tested for an hour

So my findings with today and yesterday are anything upto 200kbps plays perfectly, haven't tested any kbps between 200 and 320, but it seems after this mornings test with the 320kbps files there is still a very slight skip amazingly to the second every 5 minutes...

Update 2:

I have just setup my windows media player on the PC to sync to a maximum of 160kbps, i think at this bitrate you still get a nice quality sound without too much degradation.
I feel 128 kbps is ok for general use, 320kbps is preferable, but 160 to 200kbps is more than acceptable.
What about WBR at the higher? I suppose that it will skip less than the full 320 kbps. Then again some claims that the bitrate has no significance (which I think it has despite the expertcs claims)

atomera
17th April 2009, 09:19 PM
tried to use it on my o2 xda. also says "not compatible"....
can someone please check for functionality

looby
17th April 2009, 09:35 PM
tried to use it on my o2 xda. also says "not compatible"....
can someone please check for functionality

If you look on another thread 'Fix for audio issue' there is a CAB file from Captain_Throwback that works a treat for those on Carriers..:D:D

nixgegendenise
17th April 2009, 10:07 PM
If you look on another thread 'Fix for audio issue' there is a CAB file from Captain_Throwback that works a treat for those on Carriers..:D:D
Well, I will try this fix. But I do not have great hope :(

looby
17th April 2009, 10:21 PM
Well, I will try this fix. But I do not have great hope :(

Your hopes will be realized :D:D

wired69
17th April 2009, 10:57 PM
Just read on www.pocketnow.com that there is a HOTFIX update that addresses the issue of 'skipping' during music playback on the HTC touch diamond.

N.B. Just tried it on my Orange Diamond and says it is not compatible with your device. What a downer.

Update: There is a CAB file from Captain_Throwback on another thread 'Fix for audio issue' for those on Carriers, a huge thanks to him..

:eek: HOLY CRAP!! :eek:

This actually seems to work! I honestly gave up hope on getting a fix for this blasted issue and was considering selling my Diamond because of it. So far, 40+ minutes of music and the lag seems to be gone!

To save you searching around, the Captain_Throwback CAB which should work on all ROMs is discussed in this thread here:
http://forum.xda-developers.com/showthread.php?t=505928

I have also attached the CAB below (cheers Captain_Throwback!)


P.S. I am using Shaks.P v4.00 ROM with Pocket Player (various MP3's with bitrates ranging between 128 and 320kbps).

nixgegendenise
18th April 2009, 12:24 AM
YES IT WORKS!!!
I'm soooo happy that now, I can replace my Mp3-Player by my Diamond!

looby
18th April 2009, 12:40 AM
Thanks wired69 for compiling it all together :)

shaks1979
18th April 2009, 02:05 AM
:eek: HOLY CRAP!! :eek:

This actually seems to work! I honestly gave up hope on getting a fix for this blasted issue and was considering selling my Diamond because of it. So far, 40+ minutes of music and the lag seems to be gone!

To save you searching around, the Captain_Throwback CAB which should work on all ROMs is discussed in this thread here:
http://forum.xda-developers.com/showthread.php?t=505928

I have also attached the CAB below (cheers Captain_Throwback!)


P.S. I am using Shaks.P v4.00 ROM with Pocket Player (various MP3's with bitrates ranging between 128 and 320kbps).

As it's confirmed to work, I'll cook into next build of my rom 4.10 (soon)

ziggyred
18th April 2009, 01:49 PM
After months of misery, a simple fix.

Just tested on a half hour walk using PocketPlayer. No glitches at all.

So either not a hardward issue adter all or the file is doing something clever to get around it.

I'd love to know what's in that new DLL...

:)

MasK
18th April 2009, 02:29 PM
I'm using Dutty's V4 ROM and I don't see any difference with this fix. Still the same pause every 5mins.

Hmmz.. what didn't I do right...

Vince2301
18th April 2009, 03:41 PM
Seems to work for me! (standard HTC english ROM)
Thanks HTC for fixing it in the end! (after 10 months :D)

tomahak
18th April 2009, 11:56 PM
Hi,

just wanna confirm, that it really works.

To make sure that it works, I recorded the output of my Diamond on my PC for about 30 Min.
I did that with the output of the tool "brainzapr", which produces a noise sound and also the output with Coreplayer with high quality (320 kbs) MP3s.

On both cases no sound skipping anymore. I couldnt beleaved it, after I saw the results.

At least one problem less with the Diamond.

Btw, I'm using the original O2 XDA Diamond 1.37 ROM,

cu

tomahak

thx1200
19th April 2009, 02:05 AM
Causes device to freeze during boot. Only resolution is hard reset. See my longer post here. But be careful with the update and make sure you have a backup before you install it.

http://forum.xda-developers.com/showthread.php?t=505928#22

rmsa786
19th April 2009, 04:04 AM
worked for me too. wicked!

tnyynt
19th April 2009, 07:35 AM
See my longer post here. But be careful with the update and make sure you have a backup before you install it.

http://forum.xda-developers.com/showthread.php?t=505928#22

Didn't brick anything, just screwed your OS. There's a slight difference in between the two!!!!

morote
19th April 2009, 08:32 AM
"It's alive!"

Tested on my Raphael:
Vanilla ROM 1.90.405.1 WWE
Radio: 1.02.25.19

Who is to blame for it?
I could spare a few quids.

ainatar
19th April 2009, 11:13 AM
It works! At last it can be used as a real music player!

shaks1979
19th April 2009, 12:55 PM
Confirmed seems to work OK when cooked in as well. Played for over an hour last night, no skipping.

This update is now cooked into my latest release Shaks.P rom - link in my sig

MasK
20th April 2009, 05:29 AM
Confirmed seems to work OK when cooked in as well. Played for over an hour last night, no skipping.

This update is now cooked into my latest release Shaks.P rom - link in my sig

Yup.. now I can say it works too. Just flashed yr awesome ROM yesterday.
I'm using PocketMusic btw. I believe it works for ALL players.

One more reason not to move on to Topaz :)

shaks1979
21st April 2009, 01:22 AM
Yup.. now I can say it works too. Just flashed yr awesome ROM yesterday.
I'm using PocketMusic btw. I believe it works for ALL players.

One more reason not to move on to Topaz :)

Excellent news. I tested it myself and couldn't reproduce the bug either

jay_zhead
21st April 2009, 08:06 AM
Finally.

Me Happy Now. :D

On a funnier note though - now that I finally have the freedom to use any 3rd-party player I want, I discovered that I can't really... 'cause my wired remote control only works with TF3D or WMP, so I'm stuck with those two :) But I don't mind, as the TF3D music tab now also stopped skipping and plays everything quite well. ;) Just curious tho, anyone know of a good player that supports the wired remote (without having to turn TF3D off)?..

RSkillz
21st April 2009, 12:39 PM
I would love to hear if this hotfix works for all HTC Devices,
The Touch HD and new Diamond 2 and Diamond Pro 2.

Then I might go for another HTC in the near future.

MasK
22nd April 2009, 06:29 AM
I would love to hear if this hotfix works for all HTC Devices,
The Touch HD and new Diamond 2 and Diamond Pro 2.

Then I might go for another HTC in the near future.

The new devices might be fixed even before release I think...

cloudedhopes
22nd April 2009, 09:58 AM
EDIT: deleted

ede77
22nd April 2009, 11:14 AM
Yuhu! It works for me too (PocketPlayer)!!!

SuperToy_nc
23rd April 2009, 07:13 AM
Finally, it works!!! http://forum.xda-developers.com/images/icons/icon10.gif

Nuri58
23rd April 2009, 06:34 PM
As I have claimed all along - no HW error and a hotfix will come out. I see HTC today posted the hotfix for the skip + for the alarms repetitions issue on their support site.

Prewien
23rd April 2009, 09:00 PM
the lag is gone.. but i STILL have the problem that the last couple of secods are cut off from a track

chucky5455
24th April 2009, 08:50 PM
i had VIC's latest ROM and when i DID the HOTFIX(Cab version)YAWHUEEEEEEEEEEE !!!!!!!!!!!!!! the lag is gone!!!!!!!!!!!!!!!!!!!!!! I was about to sell it few days back until i found this solution and now I am not selling it :cool:
It will be nice if it will cooked in the next ROM update if the cookers are aware of this so please moderator Put up a sticky with the link to this topic or announce them,Now i fell that this is much more better phone then any other phone in its level range so Happy listening to music ;) now i don't have to carry my huge ipod along with my HTC:cool: will buy the high capacity Battery like 2400 mAh,can anyone please provide me the information from where to get the genuine battery(of course with the extra cover) in ebay or some places by someone who already had experience ,Thank you:)

Nuri58
26th April 2009, 01:37 PM
i had VIC's latest ROM and when i DID the HOTFIX(Cab version)YAWHUEEEEEEEEEEE !!!!!!!!!!!!!! the lag is gone!!!!!!!!!!!!!!!!!!!!!! I was about to sell it few days back until i found this solution and now I am not selling it :cool:
It will be nice if it will cooked in the next ROM update if the cookers are aware of this so please moderator Put up a sticky with the link to this topic or announce them,Now i fell that this is much more better phone then any other phone in its level range so Happy listening to music ;) now i don't have to carry my huge ipod along with my HTC:cool: will buy the high capacity Battery like 2400 mAh,can anyone please provide me the information from where to get the genuine battery(of course with the extra cover) in ebay or some places by someone who already had experience ,Thank you:)I guess all cookers are aware as HTC oficially has issued the hotfix :) also for a few other bugs.

shaks1979
26th April 2009, 04:56 PM
I guess all cookers are aware as HTC oficially has issued the hotfix :) also for a few other bugs.

Audio fix was cooked into my rom on apr19 release

phreaq
27th April 2009, 01:32 PM
oh oh!!!

I applied the fix to my diamond, and when i restarted it, it gets stuck in the 'TOUCH DIAMOND' screen where it shows the radio/rom versions.

P DCBBPZM-615010
R 1.04.05V
D 1.09


any help?

please.....

phreaq
27th April 2009, 02:37 PM
fwiw, I had to reinstall my ROM.

consider yourself warned......

uccoffee
27th April 2009, 03:53 PM
The hotfix disappear from HTC support site today (28/04/2009) , is it because of the swine flu?

Nuri58
27th April 2009, 04:45 PM
fwiw, I had to reinstall my ROM.

consider yourself warned......

Have you tried HTCs HOT fix (from their official support site)?

thx1200
28th April 2009, 04:13 PM
oh oh!!!

I applied the fix to my diamond, and when i restarted it, it gets stuck in the 'TOUCH DIAMOND' screen where it shows the radio/rom versions.

P DCBBPZM-615010
R 1.04.05V
D 1.09


any help?

please.....


Are you CDMA? Mine did the same thing (Touch Pro / Raph)

phreaq
28th April 2009, 08:26 PM
Have you tried HTCs HOT fix (from their official support site)?

yes, from their site.



Quote:
Originally Posted by phreaq
oh oh!!!

I applied the fix to my diamond, and when i restarted it, it gets stuck in the 'TOUCH DIAMOND' screen where it shows the radio/rom versions.

P DCBBPZM-615010
R 1.04.05V
D 1.09


any help?

please.....


Are you CDMA? Mine did the same thing (Touch Pro / Raph)



yes, CDMA, diamond

thx1200
29th April 2009, 02:39 AM
yes, CDMA, diamond

Sounds like it's confirmed then that the hotfix doesn't help us CDMA users. :-( I emailed Sprint and they were very responsive, but couldn't help. They actually called me back the next day to ask about details of the problem and any other info I had. I think if enough people contact them, we might see the fix released for us...

Maybe...

thx1200
13th May 2009, 03:06 AM
See my post in the CDMA Raphael forum. I have developed an unofficial fix...

http://forum.xda-developers.com/showthread.php?p=3772832

KC_1
31st August 2009, 09:49 PM
Hi!

i am a XDA star user since 1,5 year now and have this terrible problem with the sound lags every 5 minutes too.
I was lucky to find a post now in a german pda community according solution for this problem. I downloaded and installed the linked hotfix (XDA_diamond)...but after reboot no possibility to operate on the device---> hardreset.
I tried two times without success.

Is there any solution available to fix this problem at XDA star too?

Do I have to cody and install the file in a special directory at device ?

Best regards KC

ArtieQ
31st August 2009, 11:30 PM
I had this problem aswell, the hotfix from HTC's site fixed it.

thx1200
1st September 2009, 01:55 AM
Hi!

i am a XDA star user since 1,5 year now and have this terrible problem with the sound lags every 5 minutes too.
I was lucky to find a post now in a german pda community according solution for this problem. I downloaded and installed the linked hotfix (XDA_diamond)...but after reboot no possibility to operate on the device---> hardreset.
I tried two times without success.

Is there any solution available to fix this problem at XDA star too?

Do I have to cody and install the file in a special directory at device ?

Best regards KC

There's a good chance your device is simply not compatible with this hotfix or any variations thereof. There's a slim chance if your device is CDMA that the fix at http://forum.xda-developers.com/showthread.php?p=3772832 will work. Otherwise, you are out of luck. :-(

fwmone
1st September 2009, 08:00 AM
I had this problem aswell, the hotfix from HTC's site fixed it.Did it for me, too. I installed the hotfix onto below given ROM.

KC_1
1st September 2009, 06:19 PM
Thanks thx 1200 for your advise

but I fear my XDA Star is no CDMA (as far as I know what CDMA means). My device is a german edition using GSM and 3G.

Am I right that there is no chance to fix the bug on my phone?

Its very disapointing because listening to music is one of the maintask I use on the XDA. Its a shame that O2 (Suppliyer) does not support the users by
offering a hotfix yet like HTC did.
Ive learned about this... I will buy only original devises in future.

regards KC_1

fwmone
1st September 2009, 07:28 PM
Did you try another ROM than the original branded one from O²? That might help.

KC_1
1st September 2009, 10:18 PM
No I didnt cause its still suppliers warranty on the device and im thinking about turning it back to O2.
But if O2 has no update does it make sence to turn it back?
And second reason is I havent done a ROM flash yet and Im afraid
that after flashing nothing worksany more.

At another commuity I read about a "cooked" version of WM6.1 for XDA Star.
Does this version fix the sound bug? If yes I think about trying to flash.

Some more questions about flashing:
Is their a detailed description available how to do?
How can I go back to original ROM after flashing if something is wrong?

regards KC_1

fwmone
2nd September 2009, 06:16 AM
As you're talking about "XDA STAR" - you do have an XDA Diamond (https://www.o2online.de/nw/assets/shop/popups/index.html?type=hardware&portalId=4510%20070032%2000&variantName=Fullsize), do you?

Before O² has to take back the phone, you need to concede three reworks ("bis zu drei Nachbesserungen bei technisch komplizierten Geräten vor Rücknahme"). I don't think O² will repair the phone but rather forward it to HTC. HTC is aware of the problem so there might be a chance. I don't know if newer ROMs already contain this hotfix. "Hot"fixes are sometimes updates of an urgent kind that only temporarily fix a problem which lies deeper and thus needs a more complicated rework.

Independently, the ROM forum (http://forum.xda-developers.com/forumdisplay.php?f=430) contains many ROMs and even more tutorials how to correctly flash them. If you strictly follow the steps of this (http://forum.xda-developers.com/showthread.php?t=416211) manual, barely anything can go wrong.

No one can guarantee that the HTC hotfix is going to work on the flashed ROM - but for me it did. Ok, I have the unbranded version type DIAM100 while the O² version is a DIAM300, I think. Instead of returning it and waiting for XX weeks, I would give it a try.

KC_1
3rd September 2009, 09:41 PM
indeed Im talking about XDA Star. I know this thread is about Diamond but the research about soundlag problems brought me here.
I wonder why i didnt read about similar problems at XDA useres...
Ill first try to sent it back to O2 to give them a chance to fix the bug and if they forward it to HTC shall be OK even if it takes a few weeks.
Anyway many thanks for your advices
Ill give feedback about the story

regards KC_1

antonyw
21st March 2010, 12:41 PM
I have had this music playback issue, but no on an HTC device (although the Touch Pro I used to own did have the problem too.) I've recently got a Samsung B7610 - yes, I know this is an HTC forum - and it skips and jumps and sometimes even stops altogether when playing music on any of the music players I have, ie the native Windows Media Player for mobile, the Samsung media player and also Kinoma Play. I saw this thread and was heartened to see the patch Captain_Throwback has released. I just wondered if anyone would know if installing it on a Samsung would a) bugger up my phone, and b) stand a chance of working. I've downloaded it but am reluctant to install it without knowing whether or not it's safe to do so.