Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: spazz on November 19, 2006, 01:02:56 PM

Title: aac sample rate iriver h1xx
Post by: spazz on November 19, 2006, 01:02:56 PM
Does anyone have trouble playing aac normaly with a sample rate of 48kHz? All my 48 aac play like if there too slow. I also know that my 48 aac play well anywhere else.

I know that there`s a similar bug that have been reported in the tracker but it was a long time ago(last march). I would realy like to know if theres other people with the same problem or with any related infos.

Thanks alot   :)
Title: Re: aac sample rate iriver h1xx
Post by: soap on November 19, 2006, 01:35:09 PM
See:
http://forums.rockbox.org/index.php?topic=7229.0
Title: Re: aac sample rate iriver h1xx
Post by: spazz on November 19, 2006, 10:41:33 PM
Thanks soap.
...that was a topic from me ;) Or maybe I missed something?

The problem I had then with an increased pitch(to overcome the slow sounding aac) is resolved.

I just thought that posting a new topic would help me find information on my sample rate problem....anyhow does  anyone with a h120 or h140 (160,180) can replicate the bug?

Title: Re: aac sample rate iriver h1xx
Post by: soap on November 20, 2006, 06:13:47 AM
Doh!
Title: Re: aac sample rate iriver h1xx
Post by: Lear on November 20, 2006, 10:23:22 AM
I had a look at the code, and it should pass along the frequency information, so it appears to be a problem in the metadata reader. Maybe the current implementation is too simple...
Title: Re: aac sample rate iriver h1xx
Post by: spazz on November 20, 2006, 10:35:40 AM
Thanks Lear.
Do you thinks that it will be something hard to fix...is there any chance some of your code gods attack the problem soon?
Title: Re: aac sample rate iriver h1xx
Post by: Lear on November 20, 2006, 03:01:43 PM
I created a couple of test files, and they seem to work fine, but searching on the subject told that yes, it works with that particular encoder. So it looks like we'll need to improve on how the frequency is read. Shouldn't be too hard to fix, I think...
Title: Re: aac sample rate iriver h1xx
Post by: spazz on November 20, 2006, 03:44:49 PM
Thanks Lear! Thats great. Please keep me posted on your tests and let me know if I can help...not that I can code but if I can give you feedback on daily buils or cvs builds...I lsiten to my h180 all day long :)

God...i wish I could code some times
Title: Re: aac sample rate iriver h1xx
Post by: bk on November 23, 2006, 04:48:16 PM
A fix for this has been committed. Please test, especially files w/ sample rates >44.1kHz. I can verify that sample rates <44.1kHz play back normally now.
Title: Re: aac sample rate iriver h1xx
Post by: spazz on November 23, 2006, 05:51:10 PM
I tested my 48kHz and they work perfectly. Ill let you know guys if I face any problems with different sample rates.

A bigbig thanks to Magnus and everybody who helped with this bug.

 ;D