Lots of yak shaving,

- want to fix mute and speaker mode in dialer
- got annoyed by existing PulseAudio wrapper in dialer
- port it to pulseaudio-qt first
- Find a bug in it
- attempt to fix it but don't test it fully
- Broken change gets merged and now everything is broken πŸ’”

Aaaaaaaa 😭

Β· Β· 5 Β· 0 Β· 6

hmm, so kids, if you initialize variables with null and don't set value later on they stay null, magic for changing them to valid value has not been invented yet.

@bshah the magic is pointing it to random memory and having it work sometimes :D

@martijnbraam fun fact, the first bug I fixed was actually such bug XD

List of profiles were stored in hash instead of list, so indexes were wrong, and you would get random profile everytime you ask for current profile using index πŸ˜‚

Since PinePhone have 3 profiles, it had 33% chance of doing right thing.

@bshah ummmm, that's a Highland cow but, I'll give you a bonus point πŸ˜‰πŸ‘Œ

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.