avirt/sound, branch 7.99.3 http://git.automotivelinux.org/src/avirt/atom?h=7.99.3 2019-04-08T03:57:54+00:00 Introduce 'unconfigure' callback 2019-04-08T03:57:54+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-04-03T06:41:32+00:00 urn:sha1:8e151019a32b733420e2eb3006a5edaac5bc9589 The 'unconfigure' callback can be used to clean up the 'configured' state of an Audio Path, for when it is desired to reset the streams, and/or reload a different stream configuration. To destroy the streams, we must attempt to force their PCMs closed. Take note though, that if a PCM is being written to when an unconfigure command is issued, system instability may occur. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Add 'internal' streams for routing, revamp stream finalisation 2019-04-01T00:58:59+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-04-01T00:58:08+00:00 urn:sha1:92c383e87fffd5fd22c553e30b9fc94f2cb5f9c0 Uses the ALSA internal PCM API to create streams purely used for internal routing purposes. Adds the 'try_complete' functions for both streams and routes in an attempt to standardize the finalization of a stream or route object. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Rework routing system 2019-03-27T06:49:12+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-03-27T06:47:26+00:00 urn:sha1:c22d65351d533a2077caae117e3baf5558d20963 - Add 'route' to snd_avirt_stream, remove from audio path - Add route checking - ensure that source ap and ink ap have compatible hw params - Add private data support for both source and sink Audio Paths, to ensure that the PCM can hold multiple private data(s). - Add ability to use copy_kernel and exttriggers from AVIRT instead of from Audio Paths - Reintroduce pcm_trigger and pcm_prepare, so that they may be called appropriately from AVIRT, rather than child Audio Paths. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Remove snd_avirt_pcm_period_elapsed, format tidy 2019-03-27T06:48:58+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-03-27T06:21:12+00:00 urn:sha1:07068446e60502bbd4b7b3a5df16a6246183e1ed We do not need this wrapper function any longer, can use snd_pcm_period_elapsed instead. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Add ability to route audio between audio paths 2019-03-01T06:32:37+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-03-01T06:32:37+00:00 urn:sha1:8ce739b235362ca810a5e25fef58e7400ba679b4 Configfs interface for adding 'routes' is added, and allows two audio paths to chain together particular inputs/outputs, allowing for multistage audio driver handling. A particular use-case is that of an ADSP driver. We can feed in audio to it, and capture the processed, and/or mixed, audio at it's output, and direct to another audio path driver, such as the UNICENS audio driver. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Refactor avirt_private_free 2019-03-01T06:15:22+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-03-01T06:15:22+00:00 urn:sha1:443bdab5db1cd5494e94aa7031c4a25e33a9c6bb Explicitly define callback type, refactor name Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Update some helper scripts 2019-03-01T06:06:32+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-03-01T06:05:29+00:00 urn:sha1:c87f5681888863acc433d1e129992cc2d29e0463 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Rework setting the AVIRT map, and stream creation 2019-01-29T07:46:23+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-01-29T07:46:23+00:00 urn:sha1:5e431d7a48d5e4ca0e2c040af1ef10dfaf0eba92 To ensure that a stream is able to change it's mapping (before card is sealed), we cannot create the stream PCM upon setting the mapping. This had to be reworked to allow multiple setting of the mapping if so required. The PCM ops table for a given stream is now allocated and stored in the snd_avirt_stream struct, to allow retrieval and manipulation upon mapping change. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Make snd_avirt_stream_get an exported function 2019-01-29T07:39:53+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2019-01-29T07:39:53+00:00 urn:sha1:2e1b1a2ec043a89d7720e9b9c00d4f783ce6a62b Clean up logging Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Rework PCM ops callback mechanism 2018-11-12T21:08:41+00:00 Mark Farrugia mark.farrugia@fiberdyne.com.au 2018-11-12T21:04:19+00:00 urn:sha1:4ff37d576bc43e4655e5ed02bc8016e266c9893d - Fix issues regarding PCM ops callbacks via AVIRT - As PCMs are created, the PCM ops are set according to the Audio Path's needs. A default PCM ops table is applied for all PCMs, which includes callbacks such as open, and hw_free, since AVIRT requires these for intermediate processing, whether or not a given Audio Path may need them. - Separate PCM ops into separate playback and capture ops tables Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>avirt/sound, branch 7.99.3</title>
<subtitle/>
<id>http://git.automotivelinux.org/src/avirt/atom?h=7.99.3</id>
<link rel="self" href="http://git.automotivelinux.org/src/avirt/atom?h=7.99.3"/>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/"/>
<updated>2019-04-08T03:57:54+00:00</updated>
<entry>
<title>Introduce 'unconfigure' callback</title>
<updated>2019-04-08T03:57:54+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-04-03T06:41:32+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=8e151019a32b733420e2eb3006a5edaac5bc9589"/>
<id>urn:sha1:8e151019a32b733420e2eb3006a5edaac5bc9589</id>
<content type="text"> The 'unconfigure' callback can be used to clean up the 'configured' state of an Audio Path, for when it is desired to reset the streams, and/or reload a different stream configuration. To destroy the streams, we must attempt to force their PCMs closed. Take note though, that if a PCM is being written to when an unconfigure command is issued, system instability may occur. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Add 'internal' streams for routing, revamp stream finalisation</title>
<updated>2019-04-01T00:58:59+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-04-01T00:58:08+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=92c383e87fffd5fd22c553e30b9fc94f2cb5f9c0"/>
<id>urn:sha1:92c383e87fffd5fd22c553e30b9fc94f2cb5f9c0</id>
<content type="text"> Uses the ALSA internal PCM API to create streams purely used for internal routing purposes. Adds the 'try_complete' functions for both streams and routes in an attempt to standardize the finalization of a stream or route object. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Rework routing system</title>
<updated>2019-03-27T06:49:12+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-03-27T06:47:26+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=c22d65351d533a2077caae117e3baf5558d20963"/>
<id>urn:sha1:c22d65351d533a2077caae117e3baf5558d20963</id>
<content type="text"> - Add 'route' to snd_avirt_stream, remove from audio path - Add route checking - ensure that source ap and ink ap have compatible hw params - Add private data support for both source and sink Audio Paths, to ensure that the PCM can hold multiple private data(s). - Add ability to use copy_kernel and exttriggers from AVIRT instead of from Audio Paths - Reintroduce pcm_trigger and pcm_prepare, so that they may be called appropriately from AVIRT, rather than child Audio Paths. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Remove snd_avirt_pcm_period_elapsed, format tidy</title>
<updated>2019-03-27T06:48:58+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-03-27T06:21:12+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=07068446e60502bbd4b7b3a5df16a6246183e1ed"/>
<id>urn:sha1:07068446e60502bbd4b7b3a5df16a6246183e1ed</id>
<content type="text"> We do not need this wrapper function any longer, can use snd_pcm_period_elapsed instead. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Add ability to route audio between audio paths</title>
<updated>2019-03-01T06:32:37+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-03-01T06:32:37+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=8ce739b235362ca810a5e25fef58e7400ba679b4"/>
<id>urn:sha1:8ce739b235362ca810a5e25fef58e7400ba679b4</id>
<content type="text"> Configfs interface for adding 'routes' is added, and allows two audio paths to chain together particular inputs/outputs, allowing for multistage audio driver handling. A particular use-case is that of an ADSP driver. We can feed in audio to it, and capture the processed, and/or mixed, audio at it's output, and direct to another audio path driver, such as the UNICENS audio driver. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Refactor avirt_private_free</title>
<updated>2019-03-01T06:15:22+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-03-01T06:15:22+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=443bdab5db1cd5494e94aa7031c4a25e33a9c6bb"/>
<id>urn:sha1:443bdab5db1cd5494e94aa7031c4a25e33a9c6bb</id>
<content type="text"> Explicitly define callback type, refactor name Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> </content>
</entry>
<entry>
<title>Update some helper scripts</title>
<updated>2019-03-01T06:06:32+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-03-01T06:05:29+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=c87f5681888863acc433d1e129992cc2d29e0463"/>
<id>urn:sha1:c87f5681888863acc433d1e129992cc2d29e0463</id>
<content type="text"> Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Rework setting the AVIRT map, and stream creation</title>
<updated>2019-01-29T07:46:23+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-01-29T07:46:23+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=5e431d7a48d5e4ca0e2c040af1ef10dfaf0eba92"/>
<id>urn:sha1:5e431d7a48d5e4ca0e2c040af1ef10dfaf0eba92</id>
<content type="text"> To ensure that a stream is able to change it's mapping (before card is sealed), we cannot create the stream PCM upon setting the mapping. This had to be reworked to allow multiple setting of the mapping if so required. The PCM ops table for a given stream is now allocated and stored in the snd_avirt_stream struct, to allow retrieval and manipulation upon mapping change. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au></content>
</entry>
<entry>
<title>Make snd_avirt_stream_get an exported function</title>
<updated>2019-01-29T07:39:53+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2019-01-29T07:39:53+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=2e1b1a2ec043a89d7720e9b9c00d4f783ce6a62b"/>
<id>urn:sha1:2e1b1a2ec043a89d7720e9b9c00d4f783ce6a62b</id>
<content type="text"> Clean up logging Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> </content>
</entry>
<entry>
<title>Rework PCM ops callback mechanism</title>
<updated>2018-11-12T21:08:41+00:00</updated>
<author>
<name>Mark Farrugia</name>
<email>mark.farrugia@fiberdyne.com.au</email>
</author>
<published>2018-11-12T21:04:19+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/avirt/commit/?id=4ff37d576bc43e4655e5ed02bc8016e266c9893d"/>
<id>urn:sha1:4ff37d576bc43e4655e5ed02bc8016e266c9893d</id>
<content type="text"> - Fix issues regarding PCM ops callbacks via AVIRT - As PCMs are created, the PCM ops are set according to the Audio Path's needs. A default PCM ops table is applied for all PCMs, which includes callbacks such as open, and hw_free, since AVIRT requires these for intermediate processing, whether or not a given Audio Path may need them. - Separate PCM ops into separate playback and capture ops tables Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> </content>
</entry>
</feed>