From: Stas Sergeev <stsp@list.ru>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: ALSA devel <alsa-devel@alsa-project.org>, Steve Chen <schen@mvista.com>
Subject: Re: [PATCH] asoc: add dummy codec
Date: Thu, 11 Apr 2013 19:11:17 +0400 [thread overview]
Message-ID: <5166D295.2070400@list.ru> (raw)
In-Reply-To: <51669353.7090903@metafoo.de>
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
11.04.2013 14:41, Lars-Peter Clausen пишет:
> On 04/11/2013 12:36 PM, Stas Sergeev wrote:
>> Hi.
>>
>> The attached patch adds a dummy codec for the
>> asoc subsystem.
>> I use it with the driver that programs the soc to drive
>> I2S from an internal PLLs, and the audio then goes to
>> HDMI, so no external codec is used.
>> I've found spdif_transciever.c, which exactly is such a
>> dummy driver, but it is bound to the particular plat
>> device, so I made the device name a config option, and
>> if not set, the plat device is created with the default
>> name.
>>
>> It may be possible to avoid the usage of the codec driver
>> at all, but I haven't succeeded with this, and the existance
>> of spdif_transciever.c suggests there is no such way.
>> Thoughts?
>>
>> Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
>>
> Hi,
>
> There is already a dummy codec driver.
>
> Please take a look at sound/soc/soc-utils.c
>
> - Lars
Lars, indeed, this codec is present in a git kernel and
it wasn't in mine android kernel.
But, that driver is too dummy to even work at all.
The attached patch adds a playback stream for the dummy
codec. Would it be possible to apply this?
Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
[-- Attachment #2: 0001-asoc-define-playback-stream-in-dummy-codec.patch --]
[-- Type: application/x-patch, Size: 900 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2013-04-11 15:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 10:36 [PATCH] asoc: add dummy codec Stas Sergeev
2013-04-11 10:41 ` Lars-Peter Clausen
2013-04-11 13:57 ` Stas Sergeev
2013-04-11 14:21 ` Lars-Peter Clausen
2013-04-11 14:33 ` Stas Sergeev
2013-04-11 15:11 ` Stas Sergeev [this message]
2013-04-11 15:48 ` Gabriel M. Beddingfield
2013-04-11 16:03 ` Stas Sergeev
2013-04-11 16:13 ` Gabriel M. Beddingfield
2013-04-11 16:44 ` Stas Sergeev
2013-04-11 18:02 ` Lars-Peter Clausen
2013-04-12 2:58 ` Gabriel M. Beddingfield
2013-04-12 2:50 ` Gabriel M. Beddingfield
2013-04-12 9:09 ` Stas Sergeev
2013-04-11 17:58 ` Lars-Peter Clausen
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=5166D295.2070400@list.ru \
--to=stsp@list.ru \
--cc=alsa-devel@alsa-project.org \
--cc=lars@metafoo.de \
--cc=schen@mvista.com \
/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.