mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-18 08:56:42 -05:00
pcm dump() routines update: use spaces to indent texts
This commit is contained in:
parent
1439c2be86
commit
bdfbbed5ca
10 changed files with 43 additions and 48 deletions
|
|
@ -680,7 +680,7 @@ static void snd_pcm_dmix_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
|
|
||||||
snd_output_printf(out, "Direct Stream Mixing PCM\n");
|
snd_output_printf(out, "Direct Stream Mixing PCM\n");
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
if (dmix->spcm)
|
if (dmix->spcm)
|
||||||
|
|
|
||||||
|
|
@ -525,7 +525,7 @@ static void snd_pcm_dshare_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
|
|
||||||
snd_output_printf(out, "Direct Share PCM\n");
|
snd_output_printf(out, "Direct Share PCM\n");
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
if (dshare->spcm)
|
if (dshare->spcm)
|
||||||
|
|
|
||||||
|
|
@ -415,7 +415,7 @@ static void snd_pcm_dsnoop_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
|
|
||||||
snd_output_printf(out, "Direct Snoop PCM\n");
|
snd_output_printf(out, "Direct Snoop PCM\n");
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
if (dsnoop->spcm)
|
if (dsnoop->spcm)
|
||||||
|
|
|
||||||
|
|
@ -986,7 +986,7 @@ static void snd_pcm_hw_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
hw->card, name, hw->device, hw->subdevice);
|
hw->card, name, hw->device, hw->subdevice);
|
||||||
free(name);
|
free(name);
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
* \ingroup PCM_Plugins
|
* \ingroup PCM_Plugins
|
||||||
* \brief ALSA Plugin <-> LADSPA Plugin Interface
|
* \brief ALSA Plugin <-> LADSPA Plugin Interface
|
||||||
* \author Jaroslav Kysela <perex@suse.cz>
|
* \author Jaroslav Kysela <perex@suse.cz>
|
||||||
* \date 2001
|
* \date 2001,2005
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* PCM - LADSPA integration plugin
|
* PCM - LADSPA integration plugin
|
||||||
|
|
@ -59,11 +59,6 @@ typedef struct {
|
||||||
snd_pcm_ladspa_instance_t **finstances;
|
snd_pcm_ladspa_instance_t **finstances;
|
||||||
} snd_pcm_ladspa_t;
|
} snd_pcm_ladspa_t;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
struct list_head list;
|
|
||||||
LADSPA_Handle *handle;
|
|
||||||
} snd_pcm_ladspa_subinstance_t;
|
|
||||||
|
|
||||||
struct snd_pcm_ladspa_instance {
|
struct snd_pcm_ladspa_instance {
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
const LADSPA_Descriptor *desc;
|
const LADSPA_Descriptor *desc;
|
||||||
|
|
|
||||||
|
|
@ -675,7 +675,7 @@ static void snd_pcm_multi_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
snd_pcm_multi_t *multi = pcm->private_data;
|
snd_pcm_multi_t *multi = pcm->private_data;
|
||||||
unsigned int k;
|
unsigned int k;
|
||||||
snd_output_printf(out, "Multi PCM\n");
|
snd_output_printf(out, "Multi PCM\n");
|
||||||
snd_output_printf(out, "\nChannel bindings:\n");
|
snd_output_printf(out, " Channel bindings:\n");
|
||||||
for (k = 0; k < multi->channels_count; ++k) {
|
for (k = 0; k < multi->channels_count; ++k) {
|
||||||
snd_pcm_multi_channel_t *c = &multi->channels[k];
|
snd_pcm_multi_channel_t *c = &multi->channels[k];
|
||||||
if (c->slave_idx < 0)
|
if (c->slave_idx < 0)
|
||||||
|
|
@ -684,11 +684,11 @@ static void snd_pcm_multi_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
k, c->slave_idx, c->slave_channel);
|
k, c->slave_idx, c->slave_channel);
|
||||||
}
|
}
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
for (k = 0; k < multi->slaves_count; ++k) {
|
for (k = 0; k < multi->slaves_count; ++k) {
|
||||||
snd_output_printf(out, "\nSlave #%d: ", k);
|
snd_output_printf(out, "Slave #%d: ", k);
|
||||||
snd_pcm_dump(multi->slaves[k].pcm, out);
|
snd_pcm_dump(multi->slaves[k].pcm, out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1276,11 +1276,11 @@ static void snd_pcm_share_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
snd_pcm_share_slave_t *slave = share->slave;
|
snd_pcm_share_slave_t *slave = share->slave;
|
||||||
unsigned int k;
|
unsigned int k;
|
||||||
snd_output_printf(out, "Share PCM\n");
|
snd_output_printf(out, "Share PCM\n");
|
||||||
snd_output_printf(out, "\nChannel bindings:\n");
|
snd_output_printf(out, " Channel bindings:\n");
|
||||||
for (k = 0; k < share->channels; ++k)
|
for (k = 0; k < share->channels; ++k)
|
||||||
snd_output_printf(out, " %d: %d\n", k, share->slave_channels[k]);
|
snd_output_printf(out, " %d: %d\n", k, share->slave_channels[k]);
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
snd_output_printf(out, "Slave: ");
|
snd_output_printf(out, "Slave: ");
|
||||||
|
|
|
||||||
|
|
@ -569,7 +569,7 @@ static void snd_pcm_shm_dump(snd_pcm_t *pcm, snd_output_t *out)
|
||||||
{
|
{
|
||||||
snd_output_printf(out, "Shm PCM\n");
|
snd_output_printf(out, "Shm PCM\n");
|
||||||
if (pcm->setup) {
|
if (pcm->setup) {
|
||||||
snd_output_printf(out, "\nIts setup is:\n");
|
snd_output_printf(out, "Its setup is:\n");
|
||||||
snd_pcm_dump_setup(pcm, out);
|
snd_pcm_dump_setup(pcm, out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue