Trace
New Head-Fier
- Joined
- Jan 15, 2012
- Posts
- 3
- Likes
- 0
Sweet thanks, one more thing, how do I know if my classic is compatible with rockbox? There are a bunch of different versions, mines an 80gb but I'm not sure on the specifics.
I just looked at that again, and is pcm-s5l8700.c even used by the 6G? IIRC thats for the Nano2G. Looking at the 6G header and cs42l55.c, I think it already supports 48k output.
Yes, it was an example of what I need to write. The current PCM code of the Classic doesn't have a feature of changing the frequency even though the chip does support up to 48Khz. By default, music is played at 44.1. The relevant function that's going to be modified is pcm_dma_apply_settings at pcm-s5l8702.c, so it can handle the external variable pcm_fsel, according to the file being played and thus support native 48Khz playback.
Isn't that what audiohw_set_frequency does? I don't have a 6G so I can't test, but what happens if you just add "audiohw_set_frequency(pcm_fsel);" to pcm_dma_apply_settings and run the test_sampr.c plugin? IIUC that should set the clock dividers right.
Sweet thanks, one more thing, how do I know if my classic is compatible with rockbox? There are a bunch of different versions, mines an 80gb but I'm not sure on the specifics.
I believe that they are all compatible but perhaps someone else can confirm. (I am using the latest, the 7G as we call it, i.e. 160GB single platter.)
When I do that, the playback stops working. The function states that the output should be disabled before using it. Do you know how to do that? I tried several combinations and it didn't work:
audio_stop -> audiohw_set_frequency -> audio_start
pcm_play_lock -> audiohw_set_frequency -> pcm_play_unlock
pcm_play_dma_stop -> audiohw_set_frequency -> pcm_play_dma_init (-> pcm_play_dma_postinit)
Hey guys,
Another noob question here: I am running one of aroldan's earlier builds and I want to upgrade to the latest build. Is there a way I can do this without losing my theme settings (font, background, colors, etc.?)
Thanks!
The comment there is probably not correct. Its present in all the drivers and so likely just copied and pasted. As for why playback fails, I'm not sure. The audiohw_preinit function above successfully sets the sample rate to 44100, so either something is wrong with how its set to 48000, or one of the other registers in audiohw_preinit must be set differently for 48k.
Maybe a dumb idea, but did you try just changing audiohw_preinit to default to 48k and see if it works?
Tried to upgrade to rockbox-ipod6-ef78472M-120926 from r31516-120101 and although it upgraded just fine, I lost my USB connectivity. I get the message on the iPod that says it's connected via USB but it never shows up on my Windows 7 or Mountain Lion machines like it use to.
I have to go through the iTunes restore process and then the entire install process to get it back to a point where I can attempt the upgrade again. I have tried to install straight to rockbox-ipod6-ef78472M-120926, as well as upgrade as I described above and both ways I lose my USB connection for good.
I am doing this with an iPod classic 160GB (Late 2009) model purchased new from Apple just a week ago.
Am I trying to upgrade to the wrong version?
Thanks
Tried to upgrade to rockbox-ipod6-ef78472M-120926 from r31516-120101 and although it upgraded just fine, I lost my USB connectivity. I get the message on the iPod that says it's connected via USB but it never shows up on my Windows 7 or Mountain Lion machines like it use to.
I have to go through the iTunes restore process and then the entire install process to get it back to a point where I can attempt the upgrade again. I have tried to install straight to rockbox-ipod6-ef78472M-120926, as well as upgrade as I described above and both ways I lose my USB connection for good.
I am doing this with an iPod classic 160GB (Late 2009) model purchased new from Apple just a week ago.
Am I trying to upgrade to the wrong version?
Thanks