Skip to contentSkip to conversation

Use a plughw device inside the dmix plugin.

DISCUSSION Juan Zapatero 2 participants 10 messages Apr 19, 2006 – Apr 20, 2006

lore
Share & tools
lore
#0 lore raw

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Thanks.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#1 lore raw

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#2 lore raw

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 11 lines · Takashi Iwai

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#3 lore raw

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 41 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#4 lore raw

No I don't know why 1 channel configuration is only available through plughw, but it is, so I want to know if there is a way to force the dmix plugin to work over plughw insted of hw:0,0 as actually it does.

Quoted 7 lines · Takashi Iwai

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 59 lines

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 51 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#5 lore raw

At Wed, 19 Apr 2006 13:39:13 +0200,

Quoted 3 lines · Juan Zapatero

No I don't know why 1 channel configuration is only available through plughw,

That's what I don't understand. What configuration did you try?

Quoted 2 lines

but it is, so I want to know if there is a way to force the dmix plugin to work over plughw insted of hw:0,0 as actually it does.

No way. Use plug _over_ dmix instead of _under_ dmix.

Takashi

Quoted 88 lines · Takashi Iwai
Quoted 7 lines

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 59 lines

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 51 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#6 lore raw

Ok as the VoIP is intendeed to work over GPRS links, it uses as configuration:

Capture:

	-16bitLE
	-8000Hz
	-1 channel

Playback:although the stream is of the same type as the one captured and sent, in playback, it's needed for other reasons to process it into a one channel stereo(meaning it is a stereo stream with audio only in one of the channels), so the configuration is:

	-16bitLE
	-8000Hz
	-2 channels 
Quoted 8 lines · Takashi Iwai

At Wed, 19 Apr 2006 13:39:13 +0200,

Quoted 3 lines · Juan Zapatero

No I don't know why 1 channel configuration is only available through plughw,

That's what I don't understand. What configuration did you try?

Quoted 108 lines
Quoted 2 lines

but it is, so I want to know if there is a way to force the dmix plugin to work over plughw insted of hw:0,0 as actually it does.

No way. Use plug _over_ dmix instead of _under_ dmix.

Takashi

Quoted 98 lines · Takashi Iwai
Quoted 7 lines

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 59 lines

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 51 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#7 lore raw

At Wed, 19 Apr 2006 13:51:13 +0200,

Quoted 9 lines · Juan Zapatero

Ok as the VoIP is intendeed to work over GPRS links, it uses as configuration:

Capture:

	-16bitLE
	-8000Hz
	-1 channel
Quoted 7 lines

Playback:although the stream is of the same type as the one captured and sent, in playback, it's needed for other reasons to process it into a one channel stereo(meaning it is a stereo stream with audio only in one of the channels), so the configuration is:

	-16bitLE
	-8000Hz
	-2 channels 

Does it mean that the appliction packs the mono stream to a interleaved stereo by itself or lets alsa-lib do it?

And what about the hardware side? The above are limitations of the application. The plugins are used to absorb the difference between the hardware and application requirements.

Takashi

Quoted 128 lines · Takashi Iwai
Quoted 8 lines

At Wed, 19 Apr 2006 13:39:13 +0200,

Quoted 3 lines · Juan Zapatero

No I don't know why 1 channel configuration is only available through plughw,

That's what I don't understand. What configuration did you try?

Quoted 108 lines
Quoted 2 lines

but it is, so I want to know if there is a way to force the dmix plugin to work over plughw insted of hw:0,0 as actually it does.

No way. Use plug _over_ dmix instead of _under_ dmix.

Takashi

Quoted 98 lines · Takashi Iwai
Quoted 7 lines

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 59 lines

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 51 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

Quoted 9 lines

______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#8 lore raw

Because what is written to the sound card is pcm, I do a little tricky processing on the buffers and make a one channel stereo out of a mono stream...

What about the hardware, it is a Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03).

Quoted 169 lines · Takashi Iwai

At Wed, 19 Apr 2006 13:51:13 +0200,

Quoted 9 lines · Juan Zapatero

Ok as the VoIP is intendeed to work over GPRS links, it uses as configuration:

Capture:

	-16bitLE
	-8000Hz
	-1 channel
Quoted 7 lines

Playback:although the stream is of the same type as the one captured and sent, in playback, it's needed for other reasons to process it into a one channel stereo(meaning it is a stereo stream with audio only in one of the channels), so the configuration is:

	-16bitLE
	-8000Hz
	-2 channels 

Does it mean that the appliction packs the mono stream to a interleaved stereo by itself or lets alsa-lib do it?

And what about the hardware side? The above are limitations of the application. The plugins are used to absorb the difference between the hardware and application requirements.

Takashi

Quoted 128 lines · Takashi Iwai
Quoted 8 lines

At Wed, 19 Apr 2006 13:39:13 +0200,

Quoted 3 lines · Juan Zapatero

No I don't know why 1 channel configuration is only available through plughw,

That's what I don't understand. What configuration did you try?

Quoted 108 lines
Quoted 2 lines

but it is, so I want to know if there is a way to force the dmix plugin to work over plughw insted of hw:0,0 as actually it does.

No way. Use plug _over_ dmix instead of _under_ dmix.

Takashi

Quoted 98 lines · Takashi Iwai
Quoted 7 lines

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 59 lines

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 51 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

Quoted 9 lines

______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

#9 lore raw

At Thu, 20 Apr 2006 09:54:24 +0200,

Quoted 4 lines · Juan Zapatero

Because what is written to the sound card is pcm, I do a little tricky processing on the buffers and make a one channel stereo out of a mono stream...

This can be achieved by route or plug plugin of alsa-lib without changing application.

Quoted 2 lines

What about the hardware, it is a Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03).

The dmix+plug is used as "default" PCM in the recent version, so it should work as it is. I still don't understand what you're trying and why it doesn't work.

You'd better to show the ALSA version you're using and the PCM configuration you tried.

Takashi

Quoted 192 lines · Takashi Iwai
Quoted 169 lines

At Wed, 19 Apr 2006 13:51:13 +0200,

Quoted 9 lines · Juan Zapatero

Ok as the VoIP is intendeed to work over GPRS links, it uses as configuration:

Capture:

	-16bitLE
	-8000Hz
	-1 channel
Quoted 7 lines

Playback:although the stream is of the same type as the one captured and sent, in playback, it's needed for other reasons to process it into a one channel stereo(meaning it is a stereo stream with audio only in one of the channels), so the configuration is:

	-16bitLE
	-8000Hz
	-2 channels 

Does it mean that the appliction packs the mono stream to a interleaved stereo by itself or lets alsa-lib do it?

And what about the hardware side? The above are limitations of the application. The plugins are used to absorb the difference between the hardware and application requirements.

Takashi

Quoted 128 lines · Takashi Iwai
Quoted 8 lines

At Wed, 19 Apr 2006 13:39:13 +0200,

Quoted 3 lines · Juan Zapatero

No I don't know why 1 channel configuration is only available through plughw,

That's what I don't understand. What configuration did you try?

Quoted 108 lines
Quoted 2 lines

but it is, so I want to know if there is a way to force the dmix plugin to work over plughw insted of hw:0,0 as actually it does.

No way. Use plug _over_ dmix instead of _under_ dmix.

Takashi

Quoted 98 lines · Takashi Iwai
Quoted 7 lines

At Wed, 19 Apr 2006 13:24:20 +0200,

Quoted 4 lines · Juan Zapatero

By doing so, I would not be able to use dmixing...
The problem is that capture must be configured in 1 channel, and playback in two, but, 1 channel setup can only be made through plughw.

Quoted 59 lines

Then I don't understand your requirment at all...

You just want to wrap plug over dmix for channel shrink/expansion?

Takashi

Quoted 51 lines · Takashi Iwai
Quoted 11 lines

At Wed, 19 Apr 2006 12:53:18 +0200,

Quoted 8 lines · Juan Zapatero

I am using a VoIP application which uses different devices for capturing and playback, because some audio processing is needed between audio reception and playback. I have configured my default to use dmix plugin, because it is required to be able to play different audio streams at once. I can force the capture device to use 'default' plugin, but the playback device only works under plughw. So, is there a way to use a plughw device inside the dmix plugin?

Quoted 8 lines

You can override the definition of plughw, such as

pcm.!plughw "default"

But, fixing the app would be a better option, of course.

Takashi

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

Quoted 9 lines

______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

Quoted 9 lines

______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642