From: changjoon.lee@lge.com To: tiwai@suse.de Cc: alsa-devel@alsa-project.org, linux@endlessm.com, linux-kernel@vger.kernel.org, ChangJoon Lee <changjoon.lee@lge.com> Subject: [PATCH v2 0/1] Documentation update Date: Thu, 14 May 2020 18:30:38 +0900 [thread overview] Message-ID: <20200514093039.39558-1-changjoon.lee@lge.com> (raw) From: ChangJoon Lee <changjoon.lee@lge.com> Hi, ALSA Teams, This is documentation update purpose patch. This patch does NOT alter any of operations. This patch allows an application engineer to understand why they received negative return such as -EIO, -EBADFD, -ENOSYS, -ESTRPIPE and etc which are not fully documented on documentation site. This patch also exposes Expected Status of PCM based on bad_pcm_state() with P_STATE to help engineer to understand API behavior to the documentation site. TODO : We may need improve consistency of return value especially for snd_pcm_hw_params_current(). It returns -EBADFD when PCM is not setup while other API returns -EIO in this case. src/pcm/pcm.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 3 deletions(-) -- 2.26.2
WARNING: multiple messages have this Message-ID (diff)
From: changjoon.lee@lge.com To: tiwai@suse.de Cc: ChangJoon Lee <changjoon.lee@lge.com>, alsa-devel@alsa-project.org, linux@endlessm.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/1] Documentation update Date: Thu, 14 May 2020 18:30:38 +0900 [thread overview] Message-ID: <20200514093039.39558-1-changjoon.lee@lge.com> (raw) From: ChangJoon Lee <changjoon.lee@lge.com> Hi, ALSA Teams, This is documentation update purpose patch. This patch does NOT alter any of operations. This patch allows an application engineer to understand why they received negative return such as -EIO, -EBADFD, -ENOSYS, -ESTRPIPE and etc which are not fully documented on documentation site. This patch also exposes Expected Status of PCM based on bad_pcm_state() with P_STATE to help engineer to understand API behavior to the documentation site. TODO : We may need improve consistency of return value especially for snd_pcm_hw_params_current(). It returns -EBADFD when PCM is not setup while other API returns -EIO in this case. src/pcm/pcm.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 3 deletions(-) -- 2.26.2
next reply other threads:[~2020-05-14 9:30 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-14 9:30 changjoon.lee [this message] 2020-05-14 9:30 ` [PATCH v2 0/1] Documentation update changjoon.lee 2020-05-14 9:30 ` [PATCH v2 1/1] Updated negative return values for documentation update changjoon.lee 2020-05-14 9:30 ` changjoon.lee
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=20200514093039.39558-1-changjoon.lee@lge.com \ --to=changjoon.lee@lge.com \ --cc=alsa-devel@alsa-project.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@endlessm.com \ --cc=tiwai@suse.de \ /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: linkBe 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.