* imx28evk and SDL audio
@ 2013-04-24 4:01 jim
2013-04-24 11:25 ` Daiane Angolini
2013-04-24 11:28 ` imx28evk and SDL audio Otavio Salvador
0 siblings, 2 replies; 6+ messages in thread
From: jim @ 2013-04-24 4:01 UTC (permalink / raw)
To: meta-freescale
Anyone using SDL audio successfully on freescale imx28evk ?
The video portion is working fine, but the audio is not. The call to
SDL_OpenAudio returns the error 'No available audio device'
I used yocto with the fsl-image-gui recipe as a starting point. I'm new
to yocto, so I'm probably missing something obvious.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: imx28evk and SDL audio
2013-04-24 4:01 imx28evk and SDL audio jim
@ 2013-04-24 11:25 ` Daiane Angolini
2013-04-27 21:53 ` imx28evk and SDL audio (meta-freescale Digest, Vol 6, Issue 88) jim
2013-04-24 11:28 ` imx28evk and SDL audio Otavio Salvador
1 sibling, 1 reply; 6+ messages in thread
From: Daiane Angolini @ 2013-04-24 11:25 UTC (permalink / raw)
To: jim; +Cc: meta-freescale
On 04/24/2013 01:01 AM, jim wrote:
> Anyone using SDL audio successfully on freescale imx28evk ?
>
> The video portion is working fine, but the audio is not. The call to
> SDL_OpenAudio returns the error 'No available audio device'
>
I haven't updated the audio configuration for 2.6.35 (and I just figured
it out)
Could you, please, share the content of your asound.conf?
--
Daiane
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: imx28evk and SDL audio
2013-04-24 4:01 imx28evk and SDL audio jim
2013-04-24 11:25 ` Daiane Angolini
@ 2013-04-24 11:28 ` Otavio Salvador
1 sibling, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2013-04-24 11:28 UTC (permalink / raw)
To: jim; +Cc: meta-freescale@yoctoproject.org
On Wed, Apr 24, 2013 at 1:01 AM, jim <jimz@nycap.rr.com> wrote:
> Anyone using SDL audio successfully on freescale imx28evk ?
>
> The video portion is working fine, but the audio is not. The call to
> SDL_OpenAudio returns the error 'No available audio device'
>
> I used yocto with the fsl-image-gui recipe as a starting point. I'm new to
> yocto, so I'm probably missing something obvious.
Did you include the ALSA support for the SDL? I think it is provided
by libsdl-mixer, isn't it?
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: imx28evk and SDL audio (meta-freescale Digest, Vol 6, Issue 88)
2013-04-24 11:25 ` Daiane Angolini
@ 2013-04-27 21:53 ` jim
2013-04-30 0:16 ` imx28evk and SDL audio - Problem Gone in 1.4 jim
0 siblings, 1 reply; 6+ messages in thread
From: jim @ 2013-04-27 21:53 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
On 04/24/2013 07:25 AM, Daiane Angolini wrote:
> On 04/24/2013 01:01 AM, jim wrote:
>> Anyone using SDL audio successfully on freescale imx28evk ?
>>
>> The video portion is working fine, but the audio is not. The call to
>> SDL_OpenAudio returns the error 'No available audio device'
>>
>
> I haven't updated the audio configuration for 2.6.35 (and I just
> figured it out)
>
> Could you, please, share the content of your asound.conf?
>
>
>
Certainly, it's attached.
[-- Attachment #2: asound.conf --]
[-- Type: text/plain, Size: 3678 bytes --]
defaults.pcm.rate_converter "linear"
pcm.dmix_48000{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 48000
}
}
}
pcm.dmix_44100{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 44100
}
}
pcm.dmix_32000{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 32000
}
}
}
pcm.dmix_24000{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 24000
}
}
}
pcm.dmix_22050{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 22050
}
}
}
pcm.dmix_16000{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 16000
}
}
}
pcm.dmix_12000{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 12000
}
}
}
pcm.dmix_11025{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 11025
}
}
}
pcm.dmix_8000{
type plug
slave.pcm{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 8000
}
}
}
pcm.!dsnoop_48000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 48000
}
}
pcm.!dsnoop_44100{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 44100
}
}
pcm.!dsnoop_32000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 32000
}
}
pcm.!dsnoop_24000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 24000
}
}
pcm.!dsnoop_22050{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 22050
}
}
pcm.!dsnoop_16000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 16000
}
}
pcm.!dsnoop_12000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 12000
}
}
pcm.!dsnoop_11025{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 11025
}
}
pcm.!dsnoop_8000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 24576
format S16_LE
rate 8000
}
}
pcm.asymed{
type asym
playback.pcm "dmix_44100"
capture.pcm "dsnoop_44100"
}
pcm.dsp0{
type plug
slave.pcm "asymed"
}
pcm.!default{
type plug
route_policy "average"
slave.pcm "asymed"
}
ctl.mixer0{
type hw
card 0
}
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: imx28evk and SDL audio - Problem Gone in 1.4
2013-04-27 21:53 ` imx28evk and SDL audio (meta-freescale Digest, Vol 6, Issue 88) jim
@ 2013-04-30 0:16 ` jim
2013-04-30 1:12 ` Otavio Salvador
0 siblings, 1 reply; 6+ messages in thread
From: jim @ 2013-04-30 0:16 UTC (permalink / raw)
To: meta-freescale
On 04/27/2013 05:53 PM, jim wrote:
> On 04/24/2013 07:25 AM, Daiane Angolini wrote:
>> On 04/24/2013 01:01 AM, jim wrote:
>>> Anyone using SDL audio successfully on freescale imx28evk ?
>>>
>>> The video portion is working fine, but the audio is not. The call to
>>> SDL_OpenAudio returns the error 'No available audio device'
>>>
>>
>> I haven't updated the audio configuration for 2.6.35 (and I just
>> figured it out)
>>
>> Could you, please, share the content of your asound.conf?
>>
>>
>>
> Certainly, it's attached.
Downloaded a fresh, complete setup using 1.4 (dylan) and the video and
audio both work now with the same code.
Moving on to working with the touch-screen (which is initially working
though I haven't thoroughly tested), then USB storage, and then a kernel
driver.
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: imx28evk and SDL audio - Problem Gone in 1.4
2013-04-30 0:16 ` imx28evk and SDL audio - Problem Gone in 1.4 jim
@ 2013-04-30 1:12 ` Otavio Salvador
0 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2013-04-30 1:12 UTC (permalink / raw)
To: jim; +Cc: meta-freescale@yoctoproject.org
On Mon, Apr 29, 2013 at 9:16 PM, jim <jimz@nycap.rr.com> wrote:
> On 04/27/2013 05:53 PM, jim wrote:
>>
>> On 04/24/2013 07:25 AM, Daiane Angolini wrote:
>>>
>>> On 04/24/2013 01:01 AM, jim wrote:
>>>>
>>>> Anyone using SDL audio successfully on freescale imx28evk ?
>>>>
>>>> The video portion is working fine, but the audio is not. The call to
>>>> SDL_OpenAudio returns the error 'No available audio device'
>>>>
>>>
>>> I haven't updated the audio configuration for 2.6.35 (and I just figured
>>> it out)
>>>
>>> Could you, please, share the content of your asound.conf?
>>>
>>>
>>>
>> Certainly, it's attached.
>
> Downloaded a fresh, complete setup using 1.4 (dylan) and the video and audio
> both work now with the same code.
> Moving on to working with the touch-screen (which is initially working
> though I haven't thoroughly tested), then USB storage, and then a kernel
> driver.
Yey, great news :-)
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-04-30 1:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 4:01 imx28evk and SDL audio jim
2013-04-24 11:25 ` Daiane Angolini
2013-04-27 21:53 ` imx28evk and SDL audio (meta-freescale Digest, Vol 6, Issue 88) jim
2013-04-30 0:16 ` imx28evk and SDL audio - Problem Gone in 1.4 jim
2013-04-30 1:12 ` Otavio Salvador
2013-04-24 11:28 ` imx28evk and SDL audio Otavio Salvador
[not found] <mailman.791.1366806056.19864.meta-freescale@yoctoproject.org>
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.