]> git.alsa-project.org Git - alsa-gobject.git/commit
seq: query: use GFileError to report error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 02:54:07 +0000 (11:54 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 13:34:07 +0000 (22:34 +0900)
commit5395fc2bb6b2c191c7ad6b0b08970a0cc8d3722e
tree13f51aa0dafd44c3965c7a1fdc24f910cc17169f
parenta5dc37e45180d75de16a2b8decc229951e971e4d
seq: query: use GFileError to report error

In design of ALSA sequencer, sequencer character device is not
corresponding to each substance in ALSA Sequencer. It's a kind of
interface to query and operate. Applications adds user client
and operates it to use its services. Nevertheless, the interface
has some functionality without adding the user instances.

For the functionality, this library has global functions. The functions
are not relevant to the user instance, therefore it's not reasonable to
use error domain specific to the user instance.

This commit uses GFileError to report errors in the global functions.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/query.c