Skip to content

Tinyalsa utilities output formatting and preventing seg fault. - #272

Open
seawright wants to merge 3 commits into
tinyalsa:masterfrom
seawright:master
Open

Tinyalsa utilities output formatting and preventing seg fault.#272
seawright wants to merge 3 commits into
tinyalsa:masterfrom
seawright:master

Conversation

@seawright

Copy link
Copy Markdown

tinymix contents
ctl type num name device value
0 BOOL 1 Master Playback Switch 0On
1 INT 2 Master Playback Volume 049, 49 (range 0->63)
...
device number and value require separation
tab character added to printf statement.

tinyplay wrongname.wav
Segmentation fault (core dumped) tinyplay wrongname.wav

Test file descriptor for null value before (not after) fseek is called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant