Skip to contentSkip to conversation

pmac 48kHz sample rate not function -> disable

PATCH In review Rene Rebe 3 participants 4 messages Jul 30, 2004 – Aug 4, 2004

lore
Share & tools
lore

Rene Rebe

author
#0 lore raw

PATCH 1/1 pmac 48kHz sample rate not function -> disable

Hi all,

48kHz sample rate is not functional - at least with all iBook2s I have access to. The hardware just does 44.1kHz instead. I have cross checking the Darwin source - but as far as I have seen it also does not support higher rates then 44.1kHz. Strange is, that any bit combination written does result in 44.1kHz. Maybe someone with access to the spec can implement it correctly - if the hardware does support something different.

Have fun,
René Rebe

pmac.c renamed from pmac.c.orig +3 -3
@@ -53,7 +53,7 @@
 };
 /* fixed frequency table for tumbler */
 static int tumbler_freqs[2] = {
-	48000, 44100
+	/*48000,*/ 44100
 };
 
 /*
@@ -494,14 +494,14 @@
 	snd_pcm_runtime_t *runtime = subs->runtime;
 	int i, j, fflags;
 	static int typical_freqs[] = {
-		48000,
+		/*48000,*/
 		44100,
 		22050,
 		11025,
 		0,
 	};
 	static int typical_freq_flags[] = {
-		SNDRV_PCM_RATE_48000,
+		/*SNDRV_PCM_RATE_48000,*/
 		SNDRV_PCM_RATE_44100,
 		SNDRV_PCM_RATE_22050,
 		SNDRV_PCM_RATE_11025,
#1 lore raw

At Fri, 30 Jul 2004 16:56:44 +0200,

Quoted 9 lines · Rene Rebe

Hi all,

48kHz sample rate is not functional - at least with all iBook2s I have access to. The hardware just does 44.1kHz instead. I have cross checking the Darwin source - but as far as I have seen it also does not support higher rates then 44.1kHz. Strange is, that any bit combination written does result in 44.1kHz. Maybe someone with access to the spec can implement it correctly - if the hardware does support something different.

I guess it's iBook2-specific. Any other users?

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com

#2 lore raw
Quoted 13 lines · Takashi Iwai

At Fri, 30 Jul 2004 16:56:44 +0200,

Quoted 9 lines · Rene Rebe

Hi all,

48kHz sample rate is not functional - at least with all iBook2s I have access to. The hardware just does 44.1kHz instead. I have cross checking the Darwin source - but as far as I have seen it also does not support higher rates then 44.1kHz. Strange is, that any bit combination written does result in 44.1kHz. Maybe someone with access to the spec can implement it correctly - if the hardware does support something different.

Quoted 1 line

I guess it's iBook2-specific. Any other users?

AFAIK, none of the pmac chips supports anything other than 44.1kHz. In OS X CoreAudio takes care of resampling, I think...

Cheers,

Niklas
--
Computer Music PhD-student
University of Waikato
Hamilton
New Zealand

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com

#3 lore raw

At Wed, 4 Aug 2004 09:49:48 +1200,

Quoted 15 lines · Niklas Werner
Quoted 13 lines · Takashi Iwai

At Fri, 30 Jul 2004 16:56:44 +0200,

Quoted 9 lines · Rene Rebe

Hi all,

48kHz sample rate is not functional - at least with all iBook2s I have access to. The hardware just does 44.1kHz instead. I have cross checking the Darwin source - but as far as I have seen it also does not support higher rates then 44.1kHz. Strange is, that any bit combination written does result in 44.1kHz. Maybe someone with access to the spec can implement it correctly - if the hardware does support something different.

Quoted 3 lines
Quoted 1 line

I guess it's iBook2-specific. Any other users?

AFAIK, none of the pmac chips supports anything other than 44.1kHz. In OS X CoreAudio takes care of resampling, I think...

Ok then let's remove it.

thanks,

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com