Hey there Milus38,
It sounds like you need to restart your computer to get it to see your audio cds. I would start by resetting your PRAM:
OS X Yosemite: Reset your computer’s PRAM
Resetting PRAM may change some system settings and preferences. Use System Preferences to restore your settings.
Important: To print these instructions, click the Share button
in the Help window, then choose Print.
Choose Apple menu > Shut Down.
Locate the following keys on the keyboard: Option, Command (⌘), P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on your Mac.
Immediately press and hold the Option-Command-P-R keys. You must press this key combination before the gray screen appears.
Continue holding the keys down until your Mac restarts, and you hear the startup sound for the second time.
Release the keys.
After resetting your computer’s PRAM, you may need to update your speaker volume, display resolution, and startup disk preferences. For more information about PRAM, see the Apple Support article About NVRAM and PRAM.
If it persists then boot to Safe Mode, restart and test the issue again.
OS X Yosemite: Start up in safe mode
Thank you for using Apple Support Communities.
Take care,
Sterling