All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim <jimz@nycap.rr.com>
To: meta-freescale@yoctoproject.org
Subject: Re: imx28evk and SDL audio (meta-freescale Digest, Vol 6, Issue 88)
Date: Sat, 27 Apr 2013 17:53:50 -0400	[thread overview]
Message-ID: <517C48EE.7000100@jzielinski.nada> (raw)
In-Reply-To: <5177C126.5000909@freescale.com>

[-- 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
}

  reply	other threads:[~2013-04-27 21:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  4:01 imx28evk and SDL audio jim
2013-04-24 11:25 ` Daiane Angolini
2013-04-27 21:53   ` jim [this message]
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>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=517C48EE.7000100@jzielinski.nada \
    --to=jimz@nycap.rr.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.